We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbd9ff3 commit cf5393bCopy full SHA for cf5393b
rb/lib/selenium/webdriver/common/driver_finder.rb
@@ -20,6 +20,12 @@
20
module Selenium
21
module WebDriver
22
class DriverFinder
23
+ def self.path(options, service_class)
24
+ WebDriver.logger.deprecate('DriverFinder.path(options, service_class)',
25
+ 'DriverFinder.new(options, service).driver_path')
26
+ new(options, service_class.new).driver_path
27
+ end
28
+
29
def initialize(options, service)
30
@options = options
31
@service = service
0 commit comments