Method: Selenium::WebDriver::Driver#initialize

Defined in:
lib/selenium/webdriver/driver.rb

#initialize(bridge) ⇒ 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.

A new Driver instance with the given bridge

[View source]

61
62
63
64
65
66
67
68
# File 'lib/selenium/webdriver/driver.rb', line 61

def initialize(bridge)
  @bridge = bridge

  # TODO: refactor this away
  unless @bridge.driver_extensions.empty?
    extend(*@bridge.driver_extensions)
  end
end