You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using terminateApp it seems to close the chromedriver connection and doesn't reconnect when using activateApp.
This means when using findElement after terminateApp the request fails with a 500 error unknown error: An unknown server-side error occurred while processing the command. Original error: disconnected: not connected to DevTools
This didn't happen with the deprecated closeApp method, I assume because the session was never destroyed.
It was always working like that. You need to quit the driver and start a new session if you want to reproduce the legacy behaviour. Handling chromedriver restart together with app restart would be a new feature request (and I don't think might be picked up soon)
Hey!
When using
terminateApp
it seems to close the chromedriver connection and doesn't reconnect when usingactivateApp
.This means when using
findElement
afterterminateApp
the request fails with a 500 errorunknown error: An unknown server-side error occurred while processing the command. Original error: disconnected: not connected to DevTools
This didn't happen with the deprecated
closeApp
method, I assume because the session was never destroyed.I've created an example repo https://github.com/studioromeo/bug-webdriver-chromedriver which demonstrates the issue. It uses webdriver but the appium logs seem to suggest its at the driver level
Let me know if I can help further or where I should look to investigate a fix 👍
The text was updated successfully, but these errors were encountered: