Skip to content

BrowserOptions

lzinga edited this page Apr 11, 2021 · 2 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