puppeteer/src/injected/injected.ts

18 lines
444 B
TypeScript

import {createDeferredPromise} from '../util/DeferredPromise.js';
import * as util from './util.js';
import * as Poller from './Poller.js';
import * as TextContent from './TextContent.js';
import * as TextSelector from './TextSelector.js';
const PuppeteerUtil = Object.freeze({
...util,
...Poller,
...TextContent,
...TextSelector,
createDeferredPromise,
});
type PuppeteerUtil = typeof PuppeteerUtil;
export default PuppeteerUtil;