class Selenium::Phantomjs::WebDriver
Constants
- LOG
- LOGLEVEL
- SELENIUM_GRID_URL
Public Instance Methods
run(args = {}, options = {[:out, :err] => [LOG, 'a']})
click to toggle source
Calls superclass method
Selenium::Phantomjs::Instance#run
# File lib/selenium/phantomjs/web_driver.rb, line 8 def run(args = {}, options = {[:out, :err] => [LOG, 'a']}) phantomjs_args = { :'webdriver-selenium-grid-hub' => SELENIUM_GRID_URL, :'webdriver-loglevel' => LOGLEVEL }.merge(args).merge(wd: nil) super(phantomjs_args, options) end