Method: Selenium::WebDriver::Driver#execute_script

Defined in:
lib/selenium/webdriver/common/driver.rb

#execute_script(script, *args) ⇒ WebDriver::Element, ... Also known as: script

Execute the given JavaScript



212
213
214
# File 'lib/selenium/webdriver/common/driver.rb', line 212

def execute_script(script, *args)
  bridge.execute_script(script, *args)
end