Update E2E Test for Browserless Container #215

Closed
opened 2026-06-05 12:49:31 +02:00 by kincses · 2 comments
Owner

Task%0A%0AUpdate the tests/active/e2e_profile_address.py file to support connecting to a remote Browserless/Chrome container via the BROWSERLESS_URL environment variable.%0A%0A## Changes Made%0A%0A- Replaced the static pw.chromium.launch call with a dynamic block%0A- If BROWSERLESS_URL env var is set -> connect via pw.chromium.connect_over_cdp%0A- Otherwise -> fall back to local pw.chromium.launch using HEADLESS env var%0A%0A## Files Modified%0A%0A- tests/active/e2e_profile_address.py

## Task%0A%0AUpdate the tests/active/e2e_profile_address.py file to support connecting to a remote Browserless/Chrome container via the BROWSERLESS_URL environment variable.%0A%0A## Changes Made%0A%0A- Replaced the static pw.chromium.launch call with a dynamic block%0A- If BROWSERLESS_URL env var is set -> connect via pw.chromium.connect_over_cdp%0A- Otherwise -> fall back to local pw.chromium.launch using HEADLESS env var%0A%0A## Files Modified%0A%0A- tests/active/e2e_profile_address.py
kincses added the Type: FeatureStatus: In Progress labels 2026-06-05 12:49:36 +02:00
kincses started working 2026-06-05 12:49:36 +02:00
Author
Owner

▶️ Munka megkezdve: 2026-06-05 12:49:36

▶️ **Munka megkezdve:** 2026-06-05 12:49:36
kincses added Status: Done and removed Status: In Progress labels 2026-06-05 12:49:43 +02:00
kincses worked for 7 seconds 2026-06-05 12:49:43 +02:00
Author
Owner

Munka befejezve: 2026-06-05 12:49:42

Technikai Összefoglaló:
Replaced static pw.chromium.launch() in tests/active/e2e_profile_address.py with a dynamic block that checks BROWSERLESS_URL env var first. If set, connects via connect_over_cdp() to the remote Browserless/Chrome container; otherwise falls back to local launch with HEADLESS env var support.

⏱️ Az idő rögzítve.

✅ **Munka befejezve:** 2026-06-05 12:49:42 **Technikai Összefoglaló:** Replaced static pw.chromium.launch() in tests/active/e2e_profile_address.py with a dynamic block that checks BROWSERLESS_URL env var first. If set, connects via connect_over_cdp() to the remote Browserless/Chrome container; otherwise falls back to local launch with HEADLESS env var support. ⏱️ *Az idő rögzítve.*
Sign in to join this conversation.