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
@@ -314,7 +314,11 @@ def run_batch_job(batch_id: str, item: dict[str, Any]) -> None:
)
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()
if cfg:
if scenario == "digipay":