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