Module: Selenium::WebDriver::Safari
- Defined in:
- lib/selenium/webdriver/safari.rb,
lib/selenium/webdriver/safari/driver.rb,
lib/selenium/webdriver/safari/options.rb,
lib/selenium/webdriver/safari/service.rb,
lib/selenium/webdriver/safari/features.rb
Defined Under Namespace
Modules: Features
Classes: Driver, Options, Service
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.use_technology_preview ⇒ Object
Returns the value of attribute use_technology_preview.
29
30
31
|
# File 'lib/selenium/webdriver/safari.rb', line 29
def use_technology_preview
@use_technology_preview
end
|
Class Method Details
.path ⇒ Object
48
49
50
|
# File 'lib/selenium/webdriver/safari.rb', line 48
def path
@path ||= nil
end
|
.path=(path) ⇒ Object
43
44
45
46
|
# File 'lib/selenium/webdriver/safari.rb', line 43
def path=(path)
Platform.assert_executable(path)
@path = path
end
|
.technology_preview ⇒ Object
31
32
33
|
# File 'lib/selenium/webdriver/safari.rb', line 31
def technology_preview
'/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver'
end
|
.technology_preview! ⇒ Object
35
36
37
|
# File 'lib/selenium/webdriver/safari.rb', line 35
def technology_preview!
@use_technology_preview = true
end
|
.technology_preview? ⇒ Boolean
39
40
41
|
# File 'lib/selenium/webdriver/safari.rb', line 39
def technology_preview?
use_technology_preview
end
|