Skip to content

Appium crashes on reset if current context is webview #12083

@xlenz

Description

@xlenz

The problem

Appium crashes on reset if current context is webview

Environment

  • Appium version (or git revision) that exhibits the issue: 1.10.1
  • Desktop OS/version used to run Appium: MacOS
  • Node.js version (unless using Appium.app|exe): 10
  • Npm or Yarn package manager: 6.7.0
  • Mobile platform/version under test: Android 9
  • Real device or emulator/simulator: real
  • Appium CLI or Appium.app|exe: appium from npm

Details

Appium crashes on reset if current context is webview

Link to Appium logs

https://gist.github.com/xlenz/d6fb0d779e8735784a8af4e6148f6342

Code To Reproduce Issue [ Good To Have ]

code won't be helpful, here is highlevel steps:

  1. run tests for some app
  2. do something in native context
  3. switch to webview
  4. do reset
  5. switch to native context
  6. try find element in native context

Metadata

Metadata

Assignees

Labels

Androidrelated to Android-native driver(s)Buga problem that needs fixingMobile Chromerelated to mobile Chrome driver

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions