Skip to content

WaitTaskTimeoutException

Namespace: PuppeteerSharp

[Serializable]
public class WaitTaskTimeoutException : PuppeteerException, ISerializable

Timeout exception that might be thrown by WaitFor methods in Frame.

Inheritance: object → Exception → PuppeteerException

Implements: ISerializable

View source

public WaitTaskTimeoutException()

Initializes a new instance of the WaitTaskTimeoutException class.

View source

public WaitTaskTimeoutException(int timeout)

Initializes a new instance of the WaitTaskTimeoutException class.

Parameters

Name Type Description
timeout int Timeout.

View source

public WaitTaskTimeoutException(int timeout, string elementType)

Initializes a new instance of the WaitTaskTimeoutException class.

Parameters

Name Type Description
timeout int Timeout.
elementType string Element type.

View source

public WaitTaskTimeoutException(string message)

Initializes a new instance of the WaitTaskTimeoutException class.

Parameters

Name Type Description
message string Message.

View source

WaitTaskTimeoutException(string, Exception)

Section titled “WaitTaskTimeoutException(string, Exception)”
public WaitTaskTimeoutException(string message, Exception innerException)

Initializes a new instance of the WaitTaskTimeoutException class.

Parameters

Name Type Description
message string Message.
innerException Exception Inner exception.

View source

public string ElementType { get; }

Element type the WaitTask was waiting for.

Value: string — The element.

View source

public int Timeout { get; }

Timeout that caused the exception.

Value: int — The timeout.

View source

Made with love by Dario Kondratiuk