Module: Selenium::WebDriver::Firefox
- Defined in:
- lib/selenium/webdriver/firefox.rb,
lib/selenium/webdriver/firefox/util.rb,
lib/selenium/webdriver/firefox/binary.rb,
lib/selenium/webdriver/firefox/bridge.rb,
lib/selenium/webdriver/firefox/profile.rb,
lib/selenium/webdriver/firefox/service.rb,
lib/selenium/webdriver/firefox/launcher.rb,
lib/selenium/webdriver/firefox/extension.rb,
lib/selenium/webdriver/firefox/w3c_bridge.rb,
lib/selenium/webdriver/firefox/profiles_ini.rb
Defined Under Namespace
Modules: Util
Classes: Binary, Bridge, Extension, Launcher, Profile, ProfilesIni, Service, W3CBridge
Constant Summary
collapse
- DEFAULT_PORT =
7055
- DEFAULT_ENABLE_NATIVE_EVENTS =
Platform.os == :windows
- DEFAULT_SECURE_SSL =
false
- DEFAULT_ASSUME_UNTRUSTED_ISSUER =
true
- DEFAULT_LOAD_NO_FOCUS_LIB =
false
Class Method Summary
collapse
Class Method Details
.driver_path(warning = true) ⇒ Object
54
55
56
57
58
59
60
61
62
63
|
# File 'lib/selenium/webdriver/firefox.rb', line 54
def self.driver_path(warning = true)
if warning
warn <<-DEPRECATE.gsub(/\n +| {2,}/, ' ').freeze
[DEPRECATION] `driver_path` is deprecated. Pass the driver path as an option instead.
e.g. Selenium::WebDriver.for :firefox, driver_path: '/path'
DEPRECATE
end
@driver_path ||= nil
end
|
.driver_path=(path) ⇒ Object
44
45
46
47
48
49
50
51
52
|
# File 'lib/selenium/webdriver/firefox.rb', line 44
def self.driver_path=(path)
warn <<-DEPRECATE.gsub(/\n +| {2,}/, ' ').freeze
[DEPRECATION] `driver_path=` is deprecated. Pass the driver path as an option instead.
e.g. Selenium::WebDriver.for :firefox, driver_path: '/path'
DEPRECATE
Platform.assert_executable path
@driver_path = path
end
|
.path=(path) ⇒ Object
65
66
67
|
# File 'lib/selenium/webdriver/firefox.rb', line 65
def self.path=(path)
Binary.path = path
end
|