chromedriver fails to start sometimes because of adb returns wrong device name
See original GitHub issueSending adb command: host:devices\n[0.033][DEBUG]: Received adb response: 0015emulator-5554\tdevice\n\n[0.033][INFO]: RESPONSE InitSession unknown error: Device emulator-5554 is not online\n[0.033][DEBUG]: Log type \'driver\' lost 0 entries on destruction\n[0.033][DEBUG]: Log type \'browser\' lost 0 entries on destruction\n[0.246][INFO]: COMMAND InitSession {\n "desiredCapabilities": {\n "chromeOptions": {\n "androidDeviceSerial": "emulator-5554",\n "androidPackage": "io.selendroid.testapp",\n "androidUseRunningApp": true
^^ above adb returns extra 0015emulator-5554\tdevice\n
which is causing test to fail.
Chromedriver/appium should be able to retry without device name.
cc @filmaj
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
ADB is not starting (no error message) - Stack Overflow
1) Shift + Right click in ...\android-sdk\platform-tools folder and select Open command window here · 2) Use these commands: adb kill-server then adb...
Read more >Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >Why my google chrome is closing automatically
Click on Sometimes, when Chrome crashes, then it suddenly closes and sometimes ... An ip can be a device name if you are...
Read more >adb connection failed after updated to window10 [37056119]
After updated to window 10 from win 7, the adb connection can't be established. I re-install Android Studio, Kill and re-start the adb...
Read more >Here's what to do if ADB is not recognized in Windows 11
There are several reasons why this problem might occur. It can be a bad driver installation or a corrupt/missing file in your ADB...
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
I installed the windows appium via executable. And to me also happened the same problem reported by the noble colleague.
I solved it this way:
I hope I have helped someone. 😃
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.