Module: Selenium::WebDriver::PhantomJS

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

Defined Under Namespace

Classes: Bridge, Service

Class Method Summary collapse

Class Method Details

.pathObject



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

def self.path
  @path ||= Platform.find_binary("phantomjs")
end

.path=(path) ⇒ Object



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

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