Class: Async::WebDriver::Bridge::ProcessDriver
- Defined in:
- lib/async/webdriver/bridge/process_group.rb
Instance Attribute Summary
Attributes inherited from Driver
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(endpoint, process) ⇒ ProcessDriver
constructor
A new instance of ProcessDriver.
Methods inherited from Driver
#The status of the driver after a connection has been established.=, #client, #closed?, #concurrency, #endpoint, #ephemeral_port, #port, #reusable?, #start, #viable?
Constructor Details
#initialize(endpoint, process) ⇒ ProcessDriver
Returns a new instance of ProcessDriver.
79 80 81 82 83 |
# File 'lib/async/webdriver/bridge/process_group.rb', line 79 def initialize(endpoint, process) super(endpoint) @process = process end |
Instance Method Details
#close ⇒ Object
85 86 87 88 89 90 91 92 |
# File 'lib/async/webdriver/bridge/process_group.rb', line 85 def close super if @process @process.close @process = nil end end |