diff --git a/rb/lib/selenium/webdriver/common/local_driver.rb b/rb/lib/selenium/webdriver/common/local_driver.rb index 22f091a5ab6d2..79f22afc9d62f 100644 --- a/rb/lib/selenium/webdriver/common/local_driver.rb +++ b/rb/lib/selenium/webdriver/common/local_driver.rb @@ -40,7 +40,7 @@ def process_options(options, capabilities, service) raise ArgumentError, ":options must be an instance of #{default_options.class}" elsif capabilities WebDriver.logger.deprecate("The :capabilities parameter for #{self.class}", - ":options argument with an instance of #{self.class}", + "an :options parameter instead to create a local #{self.class}", id: :capabilities) service.executable_path ||= WebDriver::DriverFinder.path(capabilities, service.class) generate_capabilities(capabilities)