Skip to content

Commit 0cae957

Browse files
committed
Update: use new browser instance management
1 parent f93f70d commit 0cae957

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/shortest/src/core/executor.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,14 @@ export class TestExecutor {
4949
const context = await this.browserManager.launch();
5050
const page = context.pages()[0];
5151

52-
const browserTool = new BrowserTool(page, {
53-
width: 1920,
54-
height: 1080
55-
});
52+
const browserTool = new BrowserTool(
53+
page,
54+
this.browserManager,
55+
{
56+
width: 1920,
57+
height: 1080
58+
}
59+
);
5660

5761
// New AI client for each test (fresh message history)
5862
const aiClient = new AIClient({

0 commit comments

Comments
 (0)