init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 additions and 0 deletions
6
spec/support/js_patch.rb
Normal file
6
spec/support/js_patch.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
module JsPatch
|
||||
def confirm_js_popup
|
||||
page.evaluate_script("window.alert = function(msg) { return true; }")
|
||||
page.evaluate_script("window.confirm = function(msg) { return true; }")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue