Skip to content

ChromeLauncher

Namespace: PuppeteerSharp

public class ChromeLauncher : LauncherBase, IDisposable

Represents a Chromium process and any associated temporary user data directory that have created by Puppeteer and therefore must be cleaned up when no longer needed.

Inheritance: object → LauncherBase

Implements: IDisposable

View source

public ChromeLauncher(string executable, LaunchOptions options)

Initializes a new instance of the ChromeLauncher class.

Parameters

Name Type Description
executable string Full path of executable.
options LaunchOptions Options for launching Chromium.

View source

protected override void Dispose(bool disposing)

Disposes Base process and any temporary user directory.

Parameters

Name Type Description
disposing bool Indicates whether disposal was initiated by Dispose() operation.

View source

public override string ToString()

Returns a string that represents the current object.

Returns: string — A string that represents the current object.

View source

Made with love by Dario Kondratiuk