some more slop
Build and Push Docker Images / build-and-push (push) Successful in 26s

This commit is contained in:
2026-04-02 10:46:54 +02:00
parent c6b959aa37
commit 39eabf5940
2 changed files with 18 additions and 10 deletions
@@ -712,11 +712,14 @@ async def safe_browser_operation(url, operation_func):
), timeout=30.0)
# Create context and page with timeout
context = await asyncio.wait_for(browser.new_context(
context = await asyncio.wait_for(
browser.new_context(
user_agent=CUSTOM_USER_AGENT,
viewport={'width': 1920, 'height': 1080},
viewport={"width": 1280, "height": 720},
ignore_https_errors=True,
), timeout=10.0)
),
timeout=10.0,
)
page = await asyncio.wait_for(context.new_page(), timeout=10.0)
page.set_default_timeout(30000) # 30 second timeout
@@ -28,11 +28,16 @@ async def safe_browser_operation(url, operation_func):
), timeout=30.0)
# Create context and page with timeout
context = await asyncio.wait_for(browser.new_context(
context = await asyncio.wait_for(
browser.new_context(
user_agent=CUSTOM_USER_AGENT,
viewport={'width': 1920, 'height': 1080},
# Default viewport used across endpoints unless overridden per-page.
# Keeping this stable ensures coordinate-based interactions match screenshots.
viewport={"width": 1280, "height": 720},
ignore_https_errors=True,
), timeout=10.0)
),
timeout=10.0,
)
page = await asyncio.wait_for(context.new_page(), timeout=10.0)
page.set_default_timeout(30000) # 30 second timeout