Unable to reconnect to chromedriver when switching back from native to webview
See original GitHub issueUsing fairly recent appium on android hybrid app. You can switch to webview but if you return back to native and then try to switch back to webview, it timesout as it is unable to reconnect to the chromedriver.
When reconnecting…
info: [debug] Connecting to chrome-backed webview
> info: [debug] Found existing Chromedriver for context 'WEBVIEW_com.someapp. Using it.
> info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/3a3a448ad0ab32fe889d61f4b0dc6cd6/url","method":"GET"}
> info: [debug] Didn't get a new command in 60 secs, shutting down...
I am not sure it is because the existing session and its colliding.
Issue Analytics
- State:
- Created 9 years ago
- Comments:26 (6 by maintainers)
Top Results From Across the Web
Can't switch back to native app view from web view for ...
Hi, My python test script will first, in native app context, navigate to a page with a webview , and then switch to...
Read more >I am able to switch to webview in real device but unable to ...
1 Answer 1 · Check browser version on emulator · Find matching chrome driver here and download it to machine, where you host...
Read more >Capabilities & ChromeOptions - WebDriver for Chrome
This page documents all ChromeDriver supported capabilities and how to use them. ... If the latter, you can use the user-data-dir Chrome command-line...
Read more >How to Fix the ERR_CONNECTION_REFUSED Error in Chrome
In Mozilla Firefox it will simply show as Unable to connect. ... your next step will be to try 'turning it off and...
Read more >Switch to Webview - Google Groups
I have a hybrid app using Xamarin, I am trying to switch to the Webview using ... I assume that if I am...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All can some one paste appium logs from appium 1.5 run. Please use
recreateChromeDriverSessions
capability totrue
capabilities.setCapability("recreateChromeDriverSessions",
true);
[debug] [AndroidDriver] recreateChromeDriverSessions set to true; killing existing chromedrivers
Worked like a charm - thanks!