Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve the stability of WebDriver when Selenium server is gone #3534
Fix issue #3531
Step to reproduce :
Each time I stopped server during the $I->wait() and before $I->acceptPopup()
Can solved this issue:
The last fix is not enough good for me:
The best way was to mark the test has skipped but I didn't succeed to call this function in WebDriver module.
It's working well:
Tests are OK for me
referenced this pull request
Sep 28, 2016
This means that the overall result is OK, and no failures in exit code. It's good to skip other tests but at least one test should fail to indicate problem
@eXorus There are some internal changes which I'd like to avoid.
Please revert your changes to metadata behavior and merge with my branch (or just copy-paste my code, actually). Then WebDriver._before will be able just to throw exception in case a connection can't be established.