- <init>
Creates a new ChromeCommandExecutor which listens on a TCP port. Doesn't return
until the TCP port i
- execute
Executes the passed command
- fillTwoHundred
Fills in an HTTP 200 response with the passed message and content type.
- fillTwoHundredWithJson
Wraps the passed message up in an HTTP 200 response, with the Content-type
header set to application
- handleResponse
Listens for the response to a command on the oldest socket in the queue and
parses it. Expects the r
- hasClient
Returns whether an instance of Chrome is currently connected
- parseResponse
Parses a raw json string into a response.
- sendCommand
Sends the passed command to the Chrome extension on the longest-time accepted
socket. Removes the so
- stopListening
Stops listening from for new sockets from Chrome