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



16
17
18
# File 'lib/selenium/webdriver/phantomjs.rb', line 16

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

.path=(path) ⇒ Object



11
12
13
14
# File 'lib/selenium/webdriver/phantomjs.rb', line 11

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