-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support for context switching #20
Comments
Thanks for bringing this up - the reason it's not in appium capybara is just that it hasn't been added yet; it'd be fine to add. As a workaround you could use the underlying I haven't seen the issue with Chromedriver; can you provide a repro case for that? Is it happening in a webview only? I'd welcome a patch to add |
The did not get session redirect is a common problem with chromedriver. It's not Ruby specific. |
@bootstraponline , Yeah I did not see the full scope of that chromedriver issue at first. I will put together a pull request to add those context methods when I get some time. |
FWIW, switching my caps to use appiumVersion="1.3.6" on all devices that use chromedriver seems to have resolved the context switching issue. |
Issue appears resolved. If it's still broken, comment and let us know. Thanks! |
Hi-
I have searched through the code/issues, and although I see some references to context switching and hybrid apps, they do not appear to be supported by the code. I have patched the code(example below) for my own use.
Has anyone tried to implement this? It seems fairly straightforward and works fine in iOS and selendroid, but I am running into an issue with chromedriver on sauce when I try to switch contexts. Is there any documented reason why the context methods haven't been implemented?
Edit: The chromedriver error is below. I don't get any error when I run this locally on a real device or run this request straight through the vanilla appium selenium driver.
The text was updated successfully, but these errors were encountered: