teampoltergeist / poltergeist

A PhantomJS driver for Capybara
MIT License
2.5k stars 415 forks source link

Support passing of arguments to execute/evaluate_script #838

Closed twalpole closed 7 years ago

twalpole commented 7 years ago

Add support for the passing of arguments to execute_script/evaluate_script that is coming in the next Capybara release - https://github.com/teamcapybara/capybara/pull/1812 . Supports elements being passed as arguments too.