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
This isn't a direct problem with webdriver, but it does make diagnosing other problems harder. I had a bug in my chromedriver wrapper script, and it was exiting immediately. But webdriver will hang for a minute before reporting a problem, and will just report a timeout, not that the chromedriver failed/exited.
I believe the core of the problem is in javascript/node/selenium-webdriver/remote/index.js where the command.result().then handler will not kick the httpUtil.waitForServer in the case the command exits early/immediately.
The patch below demonstrates the problem by adding a test for using /bin/false as the chromedriver. It times out after a minute.
This isn't a direct problem with webdriver, but it does make diagnosing other problems harder. I had a bug in my chromedriver wrapper script, and it was exiting immediately. But webdriver will hang for a minute before reporting a problem, and will just report a timeout, not that the chromedriver failed/exited.
I believe the core of the problem is in
javascript/node/selenium-webdriver/remote/index.js
where thecommand.result().then
handler will not kick thehttpUtil.waitForServer
in the case the command exits early/immediately.The patch below demonstrates the problem by adding a test for using
/bin/false
as the chromedriver. It times out after a minute.The text was updated successfully, but these errors were encountered: