Skip to content

Commit 05fefa3

Browse files
committed
Change evaluate->execute
This was causing a bug in our Javascript execution for if statements, which caused working forms to be marked as defunct. Paired on by me & Peter
1 parent 1490372 commit 05fefa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/congress_forms/actions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def perform(browser, params={})
161161

162162
class Javascript < Base
163163
def perform(browser, params={})
164-
browser.driver.evaluate_script(value)
164+
browser.driver.execute_script(value)
165165
end
166166
end
167167

0 commit comments

Comments
 (0)