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 @@ -47,7 +47,7 @@ class Options < WebDriver::Options
47
47
#
48
48
# @example
49
49
# options = Selenium::WebDriver::Chrome::Options.new(args: ['start-maximized', 'user-data-dir=/tmp/temp_profile'])
50
- # driver = Selenium::WebDriver.for(:chrome, capabilities : options)
50
+ # driver = Selenium::WebDriver.for(:chrome, options : options)
51
51
#
52
52
# @param [Profile] profile An instance of a Chrome::Profile Class
53
53
# @param [Hash] opts the pre-defined options to create the Chrome::Options with
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Options < WebDriver::Options
45
45
#
46
46
# @example
47
47
# options = Selenium::WebDriver::Firefox::Options.new(args: ['--host=127.0.0.1'])
48
- # driver = Selenium::WebDriver.for :firefox, capabilities : options
48
+ # driver = Selenium::WebDriver.for :firefox, options : options
49
49
#
50
50
# @param [Hash] opts the pre-defined options to create the Firefox::Options with
51
51
# @option opts [String] :binary Path to the Firefox executable to use
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ class Options < WebDriver::Options
53
53
#
54
54
# @example
55
55
# options = Selenium::WebDriver::IE::Options.new(args: ['--host=127.0.0.1'])
56
- # driver = Selenium::WebDriver.for(:ie, capabilities : options)
56
+ # driver = Selenium::WebDriver.for(:ie, options : options)
57
57
#
58
58
# @example
59
59
# options = Selenium::WebDriver::IE::Options.new
60
60
# options.element_scroll_behavior = Selenium::WebDriver::IE::Options::SCROLL_BOTTOM
61
- # driver = Selenium::WebDriver.for(:ie, capabilities : options)
61
+ # driver = Selenium::WebDriver.for(:ie, options : options)
62
62
#
63
63
# @param [Hash] opts the pre-defined options
64
64
# @option opts [Array<String>] args
You can’t perform that action at this time.
0 commit comments