Method: Selenium::WebDriver::Chrome::Driver#initialize
- Defined in:
- lib/selenium/webdriver/chrome/driver.rb
#initialize(options: nil, service: nil, url: nil) ⇒ Driver
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Driver.
33 34 35 36 37 |
# File 'lib/selenium/webdriver/chrome/driver.rb', line 33 def initialize(options: nil, service: nil, url: nil, **) initialize_local_driver(, service, url) do |caps, driver_url| super(caps: caps, url: driver_url, **) end end |