"""Task-owned no-window BROWSER controller; no URL is visited."""
from pathlib import Path
import datetime, json, sys
log=Path(__file__).resolve().parent/'preparation'/'browser-open-calls.jsonl'
with log.open('a',encoding='utf-8') as fh:
    fh.write(json.dumps({'at':datetime.datetime.now(datetime.timezone.utc).isoformat(),'requestedUrl':sys.argv[1] if len(sys.argv)>1 else None,'action':'recorded_and_returned_success_without_opening_browser'})+'\n')
sys.exit(0)
