From 9403070df7dcc317c83d08bcf89f668b09cc730d Mon Sep 17 00:00:00 2001 From: abonneth Date: Thu, 25 Jun 2026 16:16:39 +0200 Subject: [PATCH] Drop the headless browser knob from integration test Co-authored-by: Cursor --- tests/integration/test_session_browser.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_session_browser.py b/tests/integration/test_session_browser.py index 10b264a..14e9169 100644 --- a/tests/integration/test_session_browser.py +++ b/tests/integration/test_session_browser.py @@ -5,9 +5,8 @@ local_browser provisioning, the agent using whatever page it lands on, and end-to-end answer extraction. -Bing is used because headless browsers can read it without CAPTCHA. The engine -lives in the env spec, not the prompt -- mirroring how a product injects a start -URL via config. +Bing is used because it can be read without a CAPTCHA. The engine lives in the +env spec, not the prompt -- mirroring how a product injects a start URL via config. Marked ``slow`` (~60-120s, more tokens than the code-env test). Skipped by default; opt in with ``pytest -m "integration and slow"`` or RUN_SLOW_SDK_TESTS=1. @@ -64,7 +63,6 @@ def test_browser_session_finds_paris_weather(client: Client, run_id: str, create { "id": "browser", "kind": "local_browser", - "headless": True, "width": 1280, "height": 800, "start_url": SEARCH_ENGINE_START_URL,