#!/usr/bin/env python3 """Real Firefox and Android production services in one correlated conversation.""" import json, os, signal, socket, sqlite3, subprocess, tempfile, time, unittest from pathlib import Path ROOT=Path(__file__).resolve().parents[1] GECKO=Path(os.environ.get("TRAINLOG_GECKODRIVER","/home/fy59/.cache/trainlog/web-e2e-tools/geckodriver")) def await_condition(predicate, seconds=30): deadline=time.monotonic()+seconds while time.monotonic()