Module: Selenium::WebDriver
Constant Summary
-
VERSION =
# File 'rb/lib/selenium/webdriver/version.rb', line 22'4.39.0.nightly'
Class Method Summary
-
.for(browser) ⇒ Driver
Create a new
Driverinstance with the correct bridge for the given browser. -
.logger ⇒ Logger
Returns logger instance that can be used across the whole
::Selenium. - .root Internal use only Internal use only
Class Method Details
Create a new WebDriver::Driver instance with the correct bridge for the given browser
One special argument is not passed on to the bridges, :listener. You can pass a listener for this option to get notified of WebDriver events. The passed object must respond to #call or implement the methods from AbstractEventListener.
# File 'rb/lib/selenium/webdriver.rb', line 87
def self.for(*) WebDriver::Driver.for(*) end
.logger ⇒ Logger
Returns logger instance that can be used across the whole ::Selenium.
.root
This method is for internal use only.
[ GitHub ]
# File 'rb/lib/selenium/webdriver.rb', line 50
def self.root @root ||= File.('..', __dir__.to_s) end