lib/fluent/evaluators.rb in fluent-0.7.3 vs lib/fluent/evaluators.rb in fluent-0.7.4

- old
+ new

@@ -23,10 +23,11 @@ def refresh platform.refresh end - def run_script(script) + def run_script(script, *args) + args.map! { |obj| obj.kind_of?(Fluent::WebElements::WebElement) ? obj.web_element : obj } platform.run_script(script) end def screenshot(file) platform.screenshot file \ No newline at end of file