Chrome class
Manager for an instance of Chrome.
Properties
- chromeConnection → ChromeConnection
-
final
- debugPort → int
-
final
- deleteDataDir → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
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
Static Methods
-
fromExisting(
int port) → Future< Chrome> - Connects to an instance of Chrome with an open debug port.
-
start(
List< String> urls, {List<String> args = const []}) → Future<Process> - Starts Chrome with the given arguments.
-
startWithDebugPort(
List< String> urls, {int debugPort = 0, bool headless = false, String? userDataDir, bool signIn = false}) → Future<Chrome> - Starts Chrome with the given arguments and a specific port.