Merge pull request #7838 from cirosantilli/evaluate-exec
evaluate -> execute_script when return not needed.
This commit is contained in:
commit
b794fdbbbe
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
|
|||
|
||||
step "I shift-click line #{line_number} in file" do
|
||||
script = "$('#L#{line_number}').trigger($.Event('click', { shiftKey: true }));"
|
||||
page.evaluate_script(script)
|
||||
execute_script(script)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue