Skip to content

Commit 2e416a4

Browse files
committed
feat: add viewport config to browser options
1 parent b496c90 commit 2e416a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/typescript/gemini-cua/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ async function runStagehandTask(invocationId?: string): Promise<SearchQueryOutpu
3434

3535
const browserOptions = {
3636
stealth: true,
37+
viewport: {
38+
width: 1440,
39+
height: 900,
40+
refresh_rate: 25
41+
},
3742
...(invocationId && { invocation_id: invocationId })
3843
};
3944

0 commit comments

Comments
 (0)