I\'ve tried several examples found online, but with no luck. I am looking to confirm the confirm message of a delete link. The last attempt was the code below, but that re
for capybara-webkit:
page.driver.browser.accept_js_confirms page.driver.browser.reject_js_confirms
which is still working, but the documentation says also:
page.driver.accept_js_confirms! page.driver.accept_js_confirms!
See https://github.com/thoughtbot/capybara-webkit , search "accept_js_confirms"