Skip to content

WaitForFunctionPollingOption

Namespace: PuppeteerSharp

[JsonConverter(typeof(JsonStringEnumMemberConverter<WaitForFunctionPollingOption>))]
public enum WaitForFunctionPollingOption

An interval at which the pageFunction is executed.

View source

Mutation = 1

To execute pageFunction on every DOM mutation.

Value: WaitForFunctionPollingOption

View source

Raf = 0

To constantly execute pageFunction in requestAnimationFrame callback. This is the tightest polling mode which is suitable to observe styling changes.

Value: WaitForFunctionPollingOption

View source

Made with love by Dario Kondratiuk