Constructor
new TCPListener(port)
Parameters:
Name | Type | Description |
---|---|---|
port |
number | Port for server to listen to. |
Methods
driverFactory() → {GeckoDriver}
Function produces a GeckoDriver.
Determines application name to initialise the driver with.
Returns:
A driver instance.
- Type
- GeckoDriver
start()
Bind this listener to |port| and start accepting incoming socket connections on |onSocketAccepted|.
The marionette.port preference will be populated with the value of |this.port|.