Class: Selenium::WebDriver::Firefox::Launcher Private
- Inherits:
-
Object
- Object
- Selenium::WebDriver::Firefox::Launcher
- Defined in:
- lib/webdriver-firefox/launcher.rb
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.
Direct Known Subclasses
Instance Method Summary collapse
- #find_free_port ⇒ Object private
- #launch ⇒ Object private
Instance Method Details
#find_free_port ⇒ 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.
7 8 9 10 |
# File 'lib/webdriver-firefox/launcher.rb', line 7 def find_free_port pool = ::NoLockFirefox::PortPool.new @port = pool.find_free_port end |
#launch ⇒ 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.
12 13 14 15 16 17 18 19 20 |
# File 'lib/webdriver-firefox/launcher.rb', line 12 def launch find_free_port create_profile start_silent_and_wait start connect_until_stable self end |