Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Then /^I confirm dialog on the next stpe$/ do
- page.evaluate_script("window.alert = function(msg) {return true; }")
- page.evaluate_script("window.confirm = function(msg) {return true; }")
- end
Add Comment
Please, Sign In to add comment