We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9204618 commit 301a45dCopy full SHA for 301a45d
1 file changed
tests/browser.test.ts
@@ -7,6 +7,7 @@ import {describe, it} from 'node:test';
7
import assert from 'node:assert';
8
import os from 'node:os';
9
import path from 'node:path';
10
+import {executablePath} from 'puppeteer';
11
import {launch} from '../src/browser.js';
12
13
describe('browser', () => {
@@ -17,13 +18,15 @@ describe('browser', () => {
17
18
headless: true,
19
isolated: false,
20
userDataDir: folderPath,
21
+ executablePath: executablePath(),
22
});
23
try {
24
25
const browser2 = await launch({
26
27
28
29
30
31
await browser2.close();
32
assert.fail('not reached');
0 commit comments