Module: Selenium::WebDriver::Firefox

Defined in:
lib/selenium/webdriver/firefox.rb,
lib/selenium/webdriver/firefox/driver.rb,
lib/selenium/webdriver/firefox/options.rb,
lib/selenium/webdriver/firefox/profile.rb,
lib/selenium/webdriver/firefox/service.rb,
lib/selenium/webdriver/firefox/features.rb,
lib/selenium/webdriver/firefox/extension.rb,
lib/selenium/webdriver/firefox/profiles_ini.rb

Defined Under Namespace

Modules: Features Classes: Driver, Extension, Options, Profile, ProfilesIni, Service

Constant Summary collapse

DEFAULT_PORT =
7055
DEFAULT_SECURE_SSL =
false
DEFAULT_ASSUME_UNTRUSTED_ISSUER =
true
DEFAULT_LOAD_NO_FOCUS_LIB =
false
DEVTOOLS_VERSION =

Mozilla Automation Team asked to only support 85 until WebDriver Bidi is available.

85

Class Method Summary collapse

Class Method Details

.driver_pathObject


51
52
53
54
55
56
# File 'lib/selenium/webdriver/firefox.rb', line 51

def self.driver_path
  WebDriver.logger.deprecate 'Selenium::WebDriver::Firefox#driver_path',
                             'Selenium::WebDriver::Firefox::Service#driver_path',
                             id: :driver_path
  Selenium::WebDriver::Firefox::Service.driver_path
end

.driver_path=(path) ⇒ Object


44
45
46
47
48
49
# File 'lib/selenium/webdriver/firefox.rb', line 44

def self.driver_path=(path)
  WebDriver.logger.deprecate 'Selenium::WebDriver::Firefox#driver_path=',
                             'Selenium::WebDriver::Firefox::Service#driver_path=',
                             id: :driver_path
  Selenium::WebDriver::Firefox::Service.driver_path = path
end

.pathObject


63
64
65
# File 'lib/selenium/webdriver/firefox.rb', line 63

def self.path
  @path ||= nil
end

.path=(path) ⇒ Object


58
59
60
61
# File 'lib/selenium/webdriver/firefox.rb', line 58

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