Method: Akephalos::Page#evaluate_script
- Defined in:
- lib/akephalos/page.rb
#evaluate_script(script) ⇒ Object
Execute JavaScript against the current page and return the results.
80 81 82 |
# File 'lib/akephalos/page.rb', line 80 def evaluate_script(script) current_frame.executeJavaScript(script).getJavaScriptResult end |