Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
import * as puppeteer from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/QueryHandler.d.ts";

Interfaces

Contains two functions queryOne and queryAll that can be Puppeteer.registerCustomQueryHandler | registered as alternative querying strategies. The functions queryOne and queryAll are executed in the page context. queryOne should take an Element and a selector string as argument and return a single Element or null if no element is found. queryAll takes the same arguments but should instead return a NodeListOf<any> or Array<any> with all the elements that match the given query selector.