[]
Represents options for creating a page in the browser and navigating to a specified Uri.
public class PageOptions
public PageOptions()
Gets or sets the background color to be used if the HTML markup doesn't specify one.
public Color? DefaultBackgroundColor { get; set; }
Gets or sets a value indicating whether or not to disable JavaScript on the page. Defaults to false.
public bool DisableScriptExecution { get; set; }
Gets or sets a value indicating whether to ignore HTTPS errors during navigation. Defaults to false.
public bool IgnoreHTTPSErrors { get; set; }
Gets or sets whether to scroll the page down to the end to force pending images to load. Defaults to false.
public bool LoadLazyImages { get; set; }
Gets or sets a value indicating whether to emulate internet disconnection. Defaults to false.
public bool OfflineMode { get; set; }
Gets or sets the password for basic HTTP authentication.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication for more details.
public string Password { get; set; }
Gets or sets the timeout settings for page operations.
If not set, the setting are derived from TimeoutOptions.
public TimeoutOptions TimeoutOptions { get; set; }
Gets or sets the username for basic HTTP authentication.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication for more details.
public string Username { get; set; }
Gets or sets the page lifetime events to wait for. Defaults to Load.
public PageLoadStates WaitUntil { get; set; }
Gets or sets the virtual window size, in pixels.
public Size? WindowSize { get; set; }