Class FrameDispatchEventOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class FrameDispatchEventOptions
- Inheritance
-
FrameDispatchEventOptions
- Inherited Members
Constructors
FrameDispatchEventOptions()
public FrameDispatchEventOptions()
FrameDispatchEventOptions(FrameDispatchEventOptions)
public FrameDispatchEventOptions(FrameDispatchEventOptions clone)
Parameters
Properties
Strict
When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
[JsonPropertyName("strict")]
public bool? Strict { get; set; }
Property Value
- bool?
Timeout
Maximum time in milliseconds. Defaults to 30000
(30 seconds). Pass 0
to disable timeout. The default value can be changed by using the SetDefaultTimeout(float)
or SetDefaultTimeout(float) methods.
[JsonPropertyName("timeout")]
public float? Timeout { get; set; }