Method: Selenium::WebDriver::Remote::Bridge#execute_script

Defined in:
lib/selenium/webdriver/remote/bridge.rb

#execute_script(script, *args) ⇒ Object

javascript execution

[View source]

303
304
305
306
# File 'lib/selenium/webdriver/remote/bridge.rb', line 303

def execute_script(script, *args)
  result = execute :execute_script, {}, {script: script, args: args}
  unwrap_script_result result
end