1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export * from './index.js';
|
8 |
|
9 | import fs from 'fs';
|
10 | import path from 'path';
|
11 |
|
12 | import {environment} from './environment.js';
|
13 |
|
14 | import * as Puppeteer from './index.js';
|
15 |
|
16 |
|
17 | environment.value = {
|
18 | fs,
|
19 | path,
|
20 | ScreenRecorder: Puppeteer.ScreenRecorder,
|
21 | };
|
22 |
|
23 |
|
24 |
|
25 | const puppeteer = new Puppeteer.PuppeteerNode({
|
26 | isPuppeteerCore: true,
|
27 | });
|
28 |
|
29 | export const {
|
30 | |
31 |
|
32 |
|
33 | connect,
|
34 | |
35 |
|
36 |
|
37 | defaultArgs,
|
38 | |
39 |
|
40 |
|
41 | executablePath,
|
42 | |
43 |
|
44 |
|
45 | launch,
|
46 | } = puppeteer;
|
47 |
|
48 | export default puppeteer;
|