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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
final

Methods

close() → void
getTab(bool accept(ChromeTab tab), {Duration? retryFor}) Future<ChromeTab?>
getTabs({Duration? retryFor}) Future<List<ChromeTab>>
Return all the available tabs.
getUrl(String path) Future<HttpClientResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited