Puppeteer class
Launch or connect to a chrome instance
Properties
Methods
-
connect(
{String? browserWsEndpoint, String? browserUrl, DeviceViewport? defaultViewport = LaunchOptions.viewportNotSpecified, bool? ignoreHttpsErrors, Duration? slowMo, List< Plugin> ? plugins}) → Future<Browser> - This method attaches Puppeteer to an existing Chromium instance.
-
defaultArgs(
{bool? devTools, bool? headless, List< String> ? args, String? userDataDir, bool? noSandboxFlag}) → List<String> -
launch(
{String? executablePath, bool? headless, bool? devTools, String? userDataDir, bool? noSandboxFlag, DeviceViewport? defaultViewport = LaunchOptions.viewportNotSpecified, bool? ignoreHttpsErrors, Duration? slowMo, List< String> ? args, dynamic ignoreDefaultArgs, Map<String, String> ? environment, List<Plugin> ? plugins, Duration? timeout, bool? waitForInitialPage}) → Future<Browser> - This method starts a Chrome instance and connects to the DevTools endpoint.
-
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