Skip to content

Commit e0b214b

Browse files
committed
fix headless for playwright
1 parent ef3a0fa commit e0b214b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdriver-ts/src/playwrightAccess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function startBrowser(benchmarkOptions: BenchmarkDriverOptions): Pr
9797
const height = 800;
9898

9999
const browser = await chromium.launch({
100-
headless: false,
100+
headless: benchmarkOptions.headless,
101101
// executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
102102
executablePath: browserPath(benchmarkOptions),
103103
});

0 commit comments

Comments
 (0)