-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't do driver.quit call if driver wasn't started or was terminated #141
Comments
One more use case: |
we have to define some algorithm to mark driver inside IDriverPool as staled/killed etc based on driverListener onException handler. |
one of the negative case for new code:
|
implementation should reuse benefits of the new CarinaCommandExecutor: https://github.com/zebrunner/carina/blob/5ade422293f906f7e5a01f91d92354f54b4d6ab1/carina-webdriver/src/main/java/com/qaprosoft/carina/core/foundation/webdriver/listener/CarinaCommandExecutor.java#L54 In scope of WebDriverException review actual error message, find all related to the dead driver/browser. During quick review I've found that initially we got driver connection refused but later it is converted to no such session etc.
Point number 3 still TBD. It shouldn't affect neighbored tests |
it should be assigned when carina-webdriver will be refactored or right after that |
the same for no such session exception:
|
attaching example of the console log messages where due to the single problem we generate huge number of errors. Single fatal/critical should be at once if possible |
From time to time we observe during direct driver calls:
During the retry executor to confirm that driver died we can capture
invalid session id
exception.It means that driver was terminated due to the different reasons and the most popular is timeout...
As only we capture such kind of issue we have to raise exception asap and stop tests execution, moreover affected driver should be removed asap from the pool without driver.quit command!
The text was updated successfully, but these errors were encountered: