KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 resulted in an Capybara::NotSupportedByDriverError error. def confirm_dialog page.evaluate_script('window.confirm = function() { return true; }') end
Tags (comma-separated)
Save Edits
Cancel