I have a situation when I'm using (using :selenium driver) multiple browsers with Capybara to test my front-end. How can I close some of them using Capybara, when they are not needed?
Also:
page.driver.browser.close
Definitely works for Selenium, though it looks like possibly not for capybara-webkit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With