Module: Selenium::WebDriver::PhantomJS

Defined in:
lib/selenium/webdriver/phantomjs.rb,
lib/selenium/webdriver/phantomjs/driver.rb,
lib/selenium/webdriver/phantomjs/service.rb

Defined Under Namespace

Classes: Driver, Service

Class Method Summary collapse

Class Method Details

.pathObject Also known as: driver_path



35
36
37
# File 'lib/selenium/webdriver/phantomjs.rb', line 35

def path
  @path ||= nil
end

.path=(path) ⇒ Object Also known as: driver_path=



29
30
31
32
# File 'lib/selenium/webdriver/phantomjs.rb', line 29

def path=(path)
  Platform.assert_executable path
  @path = path
end