Skip to content

Commit c25c882

Browse files
committed
feat(browser-use): update viewport to 1920x1080
Change browser window and viewport size from 1024x786 to 1920x1080 for better compatibility with modern web applications.
1 parent 844eda6 commit c25c882

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • pkg/templates/python/browser-use

pkg/templates/python/browser-use/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ async def bu_task(ctx: kernel.KernelContext, input_data: TaskInput):
4444
browser = Browser(
4545
cdp_url=kernel_browser.cdp_ws_url,
4646
headless=False,
47-
window_size={"width": 1024, "height": 786},
48-
viewport={"width": 1024, "height": 786},
47+
window_size={"width": 1920, "height": 1080},
48+
viewport={"width": 1920, "height": 1080},
4949
device_scale_factor=1.0,
5050
)
5151

0 commit comments

Comments
 (0)