Method: Selenium::WebDriver::Chrome::Options#add_preference
- Defined in:
- lib/selenium/webdriver/chrome/options.rb
#add_preference(name, value) ⇒ Object
Add a preference that is only applied to the user profile in use.
123 124 125 |
# File 'lib/selenium/webdriver/chrome/options.rb', line 123 def add_preference(name, value) prefs[name] = value end |