Skip to content

BrowserOptions

Lucas edited this page Aug 7, 2025 · 3 revisions
public class BrowserOptions
{    
    // The driver to be used in the PageCollection
    public string Driver { get; set; } = "msedgedriver.exe";

    // The timeout period for all pages.
    public TimeSpan Timeout { get; set; } = new TimeSpan(0, 0, 10);

    // Arguments for the driver type. For example
    // If using edge you may use --headless to hide the browser during execution.
    public string[] Arguments { get; set; }
}

Clone this wiki locally