Class DriverService
code »Manages the life and death of a native executable WebDriver server.
It is expected that the driver server implements the WebDriver Wire Protocol. Furthermore, the managed server should support multiple concurrent sessions, so that this class may be reused for multiple clients.
Constructor
DriverService ( executable, options )
Parameters |
---|
|
Show:
Instance Methods
code »address ( ) ⇒ !webdriver.promise.Promise.<string>
!webdriver.promise.Promise.<string>
Returns |
---|
|
Throws |
|
Stops the service if it is not currently running. This function will kill
the server immediately. To synchronize with the active control flow, use
#stop()
.
#stop()
.Returns |
---|
|
Starts the server if it is not already running.
Parameters |
---|
|
Returns |
|
Schedules a task in the current control flow to stop the server if it is
currently running.
Returns |
---|
|