ChromeLauncher
Namespace: PuppeteerSharp
public class ChromeLauncher : LauncherBase, IDisposableRepresents 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
Constructors
Section titled “Constructors”ChromeLauncher(string, LaunchOptions)
Section titled “ChromeLauncher(string, LaunchOptions)”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. |
Methods
Section titled “Methods”Dispose(bool)
Section titled “Dispose(bool)”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. |
ToString()
Section titled “ToString()”public override string ToString()Returns a string that represents the current object.
Returns: string — A string that represents the current object.
Made with love by Dario Kondratiuk