File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
rb/lib/selenium/webdriver Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class Options < WebDriver::Options
50
50
#
51
51
# @example
52
52
# options = Selenium::WebDriver::Chrome::Options.new(args: ['start-maximized', 'user-data-dir=/tmp/temp_profile'])
53
- # driver = Selenium::WebDriver.for(:chrome, options : options)
53
+ # driver = Selenium::WebDriver.for(:chrome, capabilities : options)
54
54
#
55
55
# @param [Profile] :profile An instance of a Chrome::Profile Class
56
56
# @param [Array] :encoded_extensions List of extensions that do not need to be Base64 encoded
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Options < WebDriver::Options
44
44
#
45
45
# @example
46
46
# options = Selenium::WebDriver::Firefox::Options.new(args: ['--host=127.0.0.1'])
47
- # driver = Selenium::WebDriver.for :firefox, options : options
47
+ # driver = Selenium::WebDriver.for :firefox, capabilities : options
48
48
#
49
49
# @param [Hash] opts the pre-defined options to create the Firefox::Options with
50
50
# @option opts [String] :binary Path to the Firefox executable to use
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ class Options < WebDriver::Options
52
52
#
53
53
# @example
54
54
# options = Selenium::WebDriver::IE::Options.new(args: ['--host=127.0.0.1'])
55
- # driver = Selenium::WebDriver.for(:ie, options : options)
55
+ # driver = Selenium::WebDriver.for(:ie, capabilities : options)
56
56
#
57
57
# @example
58
58
# options = Selenium::WebDriver::IE::Options.new
59
59
# options.element_scroll_behavior = Selenium::WebDriver::IE::Options::SCROLL_BOTTOM
60
- # driver = Selenium::WebDriver.for(:ie, options : options)
60
+ # driver = Selenium::WebDriver.for(:ie, capabilities : options)
61
61
#
62
62
# @param [Hash] opts the pre-defined options
63
63
# @option opts [Array<String>] args
You can’t perform that action at this time.
0 commit comments