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