Class: Selenium::WebDriver::Edge::Driver Private
- Inherits:
-
Chromium::Driver
- Object
- Driver
- Chromium::Driver
- Selenium::WebDriver::Edge::Driver
- Includes:
- LocalDriver
- Defined in:
- lib/selenium/webdriver/edge/driver.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Driver implementation for Microsoft Edge.
Constant Summary
Constants inherited from Chromium::Driver
Constants included from SearchContext
Instance Method Summary collapse
- #browser ⇒ Object private
-
#initialize(options: nil, service: nil, url: nil, **opts) ⇒ Driver
constructor
private
A new instance of Driver.
Methods included from LocalDriver
#initialize_local_driver, #process_options
Methods inherited from Driver
#[], #action, #add_virtual_authenticator, #capabilities, #close, #current_url, #execute_async_script, #execute_script, for, #get, #inspect, #manage, #navigate, #page_source, #quit, #ref, #script, #status, #switch_to, #title, #window_handle, #window_handles
Methods included from TakesScreenshot
#save_screenshot, #screenshot_as
Methods included from SearchContext
#find_element, #find_elements, finders
Constructor Details
#initialize(options: nil, service: nil, url: nil, **opts) ⇒ 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 |
# File 'lib/selenium/webdriver/edge/driver.rb', line 33 def initialize(options: nil, service: nil, url: nil, **opts) caps, url = initialize_local_driver(, service, url) super(caps: caps, url: url, **opts) end |
Instance Method Details
#browser ⇒ Object
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.
38 39 40 |
# File 'lib/selenium/webdriver/edge/driver.rb', line 38 def browser :edge end |