Enum WaitForFunctionPollingOption
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
An interval at which the pageFunction
is executed.
[JsonConverter(typeof(JsonStringEnumMemberConverter<WaitForFunctionPollingOption>))]
public enum WaitForFunctionPollingOption
Fields
Mutation = 1
To execute
pageFunction
on every DOM mutation.Raf = 0
To constantly execute
pageFunction
inrequestAnimationFrame
callback. This is the tightest polling mode which is suitable to observe styling changes.