Skip to content

java-webbit-websockets-selenium example: fix SharedDriver #1146

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

Merged
merged 1 commit into from
Jun 12, 2017

Conversation

alb-i986
Copy link
Contributor

@alb-i986 alb-i986 commented Jun 12, 2017

Summary

The shutdown hook should really quit the driver.
WebDriver#close would only "close the current window, quitting the browser if it's the last window currently open"
https://static.javadoc.io/org.seleniumhq.selenium/selenium-api/2.52.0/org/openqa/selenium/WebDriver.html#close--

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

The shutdown hook should really *quit* the driver.
close() "Close the current window, quitting the browser if it's the last window currently open"
@mpkorstanje mpkorstanje merged commit b24a06f into cucumber:master Jun 12, 2017
@alb-i986 alb-i986 deleted the patch-1 branch June 14, 2017 21:30
@mpkorstanje
Copy link
Contributor

Thanks!

@alb-i986
Copy link
Contributor Author

np :)

@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants