class Selenium::WebDriver::Safari::Service

@api private

Constants

DEFAULT_PORT

Public Instance Methods

stop() click to toggle source
# File lib/selenium/webdriver/safari/service.rb, line 33
def stop
  stop_process
end

Private Instance Methods

binary_path(path) click to toggle source
# File lib/selenium/webdriver/safari/service.rb, line 39
def binary_path(path)
  path = self.class.executable if path.nil?
  raise Error::WebDriverError, self.class.missing_text unless path
  Platform.assert_executable path
  path
end
cannot_connect_error_text() click to toggle source
# File lib/selenium/webdriver/safari/service.rb, line 51
def cannot_connect_error_text
  "unable to connect to safaridriver #{@host}:#{@port}"
end
start_process() click to toggle source
# File lib/selenium/webdriver/safari/service.rb, line 46
def start_process
  @process = build_process(@executable_path, "--port=#{@port}", *@extra_args)
  @process.start
end