Table of Contents

Class NavigationOptions

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll
public class NavigationOptions
Inheritance
NavigationOptions

Properties

Referer

Referer header value. If provided it will take prefrence over the referer header value set by SetExtraHttpHeadersAsync(Dictionary<string, string>).

public string Referer { get; set; }

Property Value

string

The referer.

ReferrerPolicy

Referrer policy. If provided it will take preference over the referer-policy header value set by SetExtraHttpHeadersAsync(Dictionary<string, string>).

public string ReferrerPolicy { get; set; }

Property Value

string

Timeout

Maximum navigation time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout.

public int? Timeout { get; set; }

Property Value

int?

Remarks

The default value can be changed by setting the DefaultNavigationTimeout or DefaultTimeout property.

WaitUntil

When to consider navigation succeeded, defaults to Load. Given an array of WaitUntilNavigation, navigation is considered to be successful after all events have been fired.

public WaitUntilNavigation[] WaitUntil { get; set; }

Property Value

WaitUntilNavigation[]