puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
18 lines • 521 B
JavaScript
/**
* @license
* Copyright 2023 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import { QueryHandler, } from './QueryHandler.js';
/**
* @internal
*/
export class PQueryHandler extends QueryHandler {
static querySelectorAll = (element, selector, { pQuerySelectorAll }) => {
return pQuerySelectorAll(element, selector);
};
static querySelector = (element, selector, { pQuerySelector }) => {
return pQuerySelector(element, selector);
};
}
//# sourceMappingURL=PQueryHandler.js.map