Open target URL during Chrome startup

This commit is contained in:
2026-08-03 00:42:09 +03:30
parent 9f986255b3
commit 71790cf0ad
5 changed files with 71 additions and 13 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ def _single_run(
target_url or "<missing>",
)
try:
with driver_session(headless=headless, recording_name=identifier) as driver:
with driver_session(
headless=headless,
recording_name=identifier,
initial_url=target_url,
) as driver:
FreshSessionScenario(driver, target_url).run()
result = DynamicFlow(driver, cfg).run() if cfg else None