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
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