ChromeConnection class

A class to connect to a Chrome instance and reflect on its available tabs.

This assumes the browser has been started with the --remote-debugging-port flag. The data is read from the http://{host}:{port}/json url.

Constructors

ChromeConnection(String host, [int port = 9222])

Properties

url Uri
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → void
getTab(bool accept(ChromeTab tab), {Duration retryFor}) Future<ChromeTab>
getTabs() Future<List<ChromeTab>>
getUrl(String path) Future<HttpClientResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited