Skip to content

Commit cb0f071

Browse files
committed
try to always be headless
1 parent 0fa1988 commit cb0f071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/browser/BrowserAutomation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class BrowserAutomation {
1616
return BrowserAutomation.instance;
1717
}
1818

19-
async createSession(headless: boolean = false) {
19+
async createSession(headless: boolean = true) {
2020
const session = await this.browserManager.createSession({ headless });
2121
const pageController = new PageController(session.page);
2222

src/tools/browser/BrowserManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
export class BrowserManager {
1111
private sessions: Map<string, BrowserSession> = new Map();
1212
private readonly defaultConfig: BrowserConfig = {
13-
headless: false,
13+
headless: true,
1414
defaultTimeout: 30000,
1515
};
1616

0 commit comments

Comments
 (0)