Handling JavaScript Confirm in Selenium and Capybara

page.driver.browser.switch_to.alert.accept
This will accept the confirm box.

Comments

Popular posts from this blog

Overview of Natural Language Processing (NLP)

Basic XML Questions and Answers