Skip to content

CustomQueryHandler

Namespace: PuppeteerSharp

public class CustomQueryHandler

Contains two functions queryOne and queryAll to be used as custom query handlers The functions queryOne and queryAll are executed in the page context.

Inheritance: object

View source

public string QueryAll { get; set; }

queryAll takes the same arguments but should instead return a NodeListOf of Element or Array of Element with all the elements that match the given query selector.

Value: string

View source

public string QueryOne { get; set; }

queryOne should take an Element and a selector string as argument and return a single Element or null if no element is found.

Value: string

View source

Made with love by Dario Kondratiuk