-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appium crashes on reset if current context is webview #12083
Appium crashes on reset if current context is webview #12083
Comments
I think this is the expected behaviour. The correct approach would be to quit the driver and then start it again with noReset option enabled. |
@mykola-mokhnach not likely. It should be possible to switch context after app reset. |
@mgrybyk Hm yeah. I don't think Appium will know which context you are in after the reset. Would it be ok if after reset it switches back to whichever context was the default? |
@Jonahss Yes! |
Ok I was able to reproduce this issue, and my Appium server logs look the same as yours, but the behavior is slightly different. I wrote a test which switched to a webview context, then called Good find, looks like a bug :) I'm setting up a PR with a fix, which solves the issue for me locally. |
@Jonahss thanks a lot! |
here's the PR appium/appium-android-driver#495 |
PR merged. Will be in the next release, or you can run from latest master |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The problem
Appium crashes on reset if current context is webview
Environment
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:
The text was updated successfully, but these errors were encountered: