Class CustomQueryHandler
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Contains two functions queryOne and queryAll to be used as custom query handlers
The functions queryOne and queryAll are executed in the page context.
public class CustomQueryHandler
- Inheritance
-
CustomQueryHandler
Properties
QueryAll
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.
public string QueryAll { get; set; }
Property Value
QueryOne
queryOne should take an Element and a selector string as argument and return a single Element or null if no element is found.
public string QueryOne { get; set; }