PuppeteerSharp/LaunchOptions.cs

puppeteer-sharp · lib/PuppeteerSharp/LaunchOptions.cs · csharp · MIT
scraping

Provides configuration options for launching a Chromium-based browser instance for automation tasks.

// Source: https://github.com/hardkoded/puppeteer-sharp | License: MIT | Copyright 2017 Darío Kondratiuk
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using System.Collections.Generic;
using System.Net.WebSockets;
using PuppeteerSharp.BrowserData;
using PuppeteerSharp.Cdp;
using PuppeteerSharp.Transport;

namespace PuppeteerSharp
{
    /// <summary>
    /// Options for launching the Chrome/ium browser.
    /// </summary>
    public class LaunchOptions : IBrowserOptions, IConnectionOptions
    {
        private string[] _ignoredDefaultArgs;
        private bool _devtools;

        /// <summary>
        /// Chrome Release Channel.
        /// </summary>
        public ChromeReleaseChannel? Channel { get; set; }

        /// <summary>
        /// Whether to ig

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key