UNPKG

rebrowser-puppeteer-core

Version:

A drop-in replacement for puppeteer-core patched with rebrowser-patches. It allows to pass modern automation detection tests.

21 lines (18 loc) 416 B
/** * @license * Copyright 2023 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ import {QueryHandler, type QuerySelectorAll} from './QueryHandler.js'; /** * @internal */ export class TextQueryHandler extends QueryHandler { static override querySelectorAll: QuerySelectorAll = ( element, selector, {textQuerySelectorAll}, ) => { return textQuerySelectorAll(element, selector); }; }