HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/var/www/node-app/node_modules/puppeteer-core/src/injected/
Upload File :
Current File : //proc/self/root/var/www/node-app/node_modules/puppeteer-core/src/injected/CSSSelector.ts
/**
 * @license
 * Copyright 2024 Google Inc.
 * SPDX-License-Identifier: Apache-2.0
 */

export const cssQuerySelector = (
  root: Node,
  selector: string
): Element | null => {
  // @ts-expect-error assume element root
  return root.querySelector(selector);
};
export const cssQuerySelectorAll = function (
  root: Node,
  selector: string
): Iterable<Element> {
  // @ts-expect-error assume element root
  return root.querySelectorAll(selector);
};