Method: Selenium::WebDriver::Remote::Bridge#executeScript
- Defined in:
- lib/selenium/webdriver/remote/bridge.rb
#executeScript(script, *args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
javascript execution
336 337 338 339 340 341 |
# File 'lib/selenium/webdriver/remote/bridge.rb', line 336 def executeScript(script, *args) assert_javascript_enabled result = execute :executeScript, {}, :script => script, :args => args unwrap_script_result result end |