Class: Selenium::WebDriver::Safari::Driver Private

Inherits:
WebDriver::Driver
  • Object
show all
Includes:
LocalDriver
Defined in:
lib/selenium/webdriver/safari/driver.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Driver implementation for Safari.

Constant Summary collapse

EXTENSIONS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

[DriverExtensions::HasDebugger,
DriverExtensions::HasApplePermissions].freeze

Instance Method Summary collapse

Methods included from LocalDriver

#initialize_local_driver, #process_options, #service_url

Constructor Details

#initialize(options: nil, service: nil, url: nil) ⇒ Driver

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Driver.



34
35
36
37
38
# File 'lib/selenium/webdriver/safari/driver.rb', line 34

def initialize(options: nil, service: nil, url: nil, **)
  initialize_local_driver(options, service, url) do |caps, driver_url|
    super(caps: caps, url: driver_url, **)
  end
end

Instance Method Details

#browserObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



40
41
42
# File 'lib/selenium/webdriver/safari/driver.rb', line 40

def browser
  :safari
end