lib/firewatir/firefox.rb in firewatir-1.9.3 vs lib/firewatir/firefox.rb in firewatir-1.9.4
- old
+ new
@@ -131,13 +131,10 @@
wait()
end
# Executes the given JavaScript string
def execute_script(source)
- result = js_eval source.to_s
- wait()
-
- result
+ js_eval source.to_s
end
private
# This function creates a new socket at port 9997 and sets the default values for instance and class variables.
# Generatesi UnableToStartJSShException if cannot connect to jssh even after 3 tries.