Skip to content

Instantly share code, notes, and snippets.

@MattStopa
Created March 12, 2012 18:13
Show Gist options
  • Save MattStopa/2023736 to your computer and use it in GitHub Desktop.
Save MattStopa/2023736 to your computer and use it in GitHub Desktop.
Example
Then /^I should see a JS alert$/ do
debugger
page.driver.browser.switch_to.alert
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment