[]
Specifies the maximum duration for various browser operations.
public class TimeoutOptions
public TimeoutOptions()
Gets or sets the maximum time for the browser process to exit gracefully, in milliseconds.
Equals to 10000 ms by default. Set to 0 for killing the process immediately.
public int MaxCloseTime { get; set; }
Gets or sets the maximum time to wait for the browser instance to start, in milliseconds.
Equals to 30000 ms by default. Set to 0 for unlimited launch time.
public int MaxLaunchTime { get; set; }
Gets or sets the maximum navigation time, in milliseconds.
Equals to 90000 ms by default. Set to 0 for unlimited navigation time.
public int MaxNavigationTime { get; set; }
Gets or sets the maximum duration of a PDF capture operation, in milliseconds.
Equals to 20000 ms by default. Set to 0 for unlimited duration.
public int MaxPdfCaptureTime { get; set; }
Gets or sets the maximum duration of a screenshot capture operation, in milliseconds.
Equals to 20000 ms by default. Set to 0 for unlimited duration.
public int MaxScreenshotCaptureTime { get; set; }