@@ -52,22 +52,22 @@ class Options < WebDriver::Options
5252 # options = Selenium::WebDriver::Chrome::Options.new(args: ['start-maximized', 'user-data-dir=/tmp/temp_profile'])
5353 # driver = Selenium::WebDriver.for(:chrome, capabilities: options)
5454 #
55- # @param [Profile] :profile An instance of a Chrome::Profile Class
56- # @param [Array] :encoded_extensions List of extensions that do not need to be Base64 encoded
55+ # @param [Profile] profile An instance of a Chrome::Profile Class
5756 # @param [Hash] opts the pre-defined options to create the Chrome::Options with
58- # @option opts [Array<String>] :args List of command-line arguments to use when starting Chrome
59- # @option opts [String] :binary Path to the Chrome executable to use
60- # @option opts [Hash] :prefs A hash with each entry consisting of the name of the preference and its value
61- # @option opts [Array<String>] :extensions A list of paths to (.crx) Chrome extensions to install on startup
62- # @option opts [Hash] :options A hash for raw options
63- # @option opts [Hash] :emulation A hash for raw emulation options
64- # @option opts [Hash] :local_state A hash for the Local State file in the user data folder
65- # @option opts [Boolean] :detach whether browser is closed when the driver is sent the quit command
66- # @option opts [String] :debugger_address address of a Chrome debugger server to connect to
67- # @option opts [Array<String>] :exclude_switches command line switches to exclude
68- # @option opts [String] :minidump_path Directory to store Chrome minidumps (linux only)
69- # @option opts [Hash] :perf_logging_prefs A hash for performance logging preferences
70- # @option opts [Array<String>] :window_types A list of window types to appear in the list of window handles
57+ # @option opts [Array] encoded_extensions List of extensions that do not need to be Base64 encoded
58+ # @option opts [Array<String>] args List of command-line arguments to use when starting Chrome
59+ # @option opts [String] binary Path to the Chrome executable to use
60+ # @option opts [Hash] prefs A hash with each entry consisting of the name of the preference and its value
61+ # @option opts [Array<String>] extensions A list of paths to (.crx) Chrome extensions to install on startup
62+ # @option opts [Hash] options A hash for raw options
63+ # @option opts [Hash] emulation A hash for raw emulation options
64+ # @option opts [Hash] local_state A hash for the Local State file in the user data folder
65+ # @option opts [Boolean] detach whether browser is closed when the driver is sent the quit command
66+ # @option opts [String] debugger_address address of a Chrome debugger server to connect to
67+ # @option opts [Array<String>] exclude_switches command line switches to exclude
68+ # @option opts [String] minidump_path Directory to store Chrome minidumps (linux only)
69+ # @option opts [Hash] perf_logging_prefs A hash for performance logging preferences
70+ # @option opts [Array<String>] window_types A list of window types to appear in the list of window handles
7171 #
7272
7373 def initialize ( profile : nil , **opts )
@@ -112,7 +112,7 @@ def add_extension(path)
112112 # options = Selenium::WebDriver::Chrome::Options.new
113113 # options.extensions = extensions
114114 #
115- # @param [Array<String>] : extensions A list of paths to (.crx) Chrome extensions to install on startup
115+ # @param [Array<String>] extensions A list of paths to (.crx) Chrome extensions to install on startup
116116 #
117117
118118 def extensions = ( extensions )
0 commit comments