CitaPolicia

Automation · 2025 · Built alone

CitaPolicia

Browser automation for a brittle appointment site, with a deterministic path and an AI fallback when selectors rot.

Selectors are a temporary truth

Appointment sites change. An earlier script trusted brittle selectors and then broke. CitaPolicia redesigns the problem: keep a fast deterministic path, and let a background AI worker read page structure when ordinary selectors fail.

Python, Playwright, pytest, and a layout that separates browser control, strategies, actions, models, and configuration. The point is not to replace deterministic automation with AI. It is to let each cover the other's weaknesses.

PythonPlaywrightpytestOllamaRuff