Class: Selenium::WebDriver::SeleniumManager Private
- Inherits:
-
Object
- Object
- Selenium::WebDriver::SeleniumManager
- Defined in:
- lib/selenium/webdriver/common/selenium_manager.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.
Wrapper for getting information from the Selenium Manager binaries. This implementation is still in beta, and may change.
Class Attribute Summary collapse
- .bin_path ⇒ Object private
Class Method Summary collapse
-
.binary_paths(*arguments) ⇒ Hash
private
Paths to the requested assets.
Class Attribute Details
.bin_path ⇒ 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.
33 34 35 |
# File 'lib/selenium/webdriver/common/selenium_manager.rb', line 33 def bin_path @bin_path ||= '../../../../../bin' end |
Class Method Details
.binary_paths(*arguments) ⇒ Hash
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 paths to the requested assets.
39 40 41 42 43 44 45 |
# File 'lib/selenium/webdriver/common/selenium_manager.rb', line 39 def binary_paths(*arguments) arguments += %w[--language-binding ruby] arguments += %w[--output json] arguments << '--debug' if WebDriver.logger.debug? run(binary, *arguments) end |