Class WaitTaskTimeoutException
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Timeout exception that might be thrown by WaitFor
methods in Frame.
[Serializable]
public class WaitTaskTimeoutException : PuppeteerException, ISerializable
- Inheritance
-
WaitTaskTimeoutException
- Implements
Constructors
WaitTaskTimeoutException()
Initializes a new instance of the WaitTaskTimeoutException class.
public WaitTaskTimeoutException()
WaitTaskTimeoutException(int)
Initializes a new instance of the WaitTaskTimeoutException class.
public WaitTaskTimeoutException(int timeout)
Parameters
timeout
intTimeout.
WaitTaskTimeoutException(int, string)
Initializes a new instance of the WaitTaskTimeoutException class.
public WaitTaskTimeoutException(int timeout, string elementType)
Parameters
WaitTaskTimeoutException(string)
Initializes a new instance of the WaitTaskTimeoutException class.
public WaitTaskTimeoutException(string message)
Parameters
message
stringMessage.
WaitTaskTimeoutException(string, Exception)
Initializes a new instance of the WaitTaskTimeoutException class.
public WaitTaskTimeoutException(string message, Exception innerException)
Parameters
Properties
ElementType
Element type the WaitTask was waiting for.
public string ElementType { get; }
Property Value
- string
The element.
Timeout
Timeout that caused the exception.
public int Timeout { get; }
Property Value
- int
The timeout.