Automation
WebRelay.
Scheduled browser reports from a local demo portal.
Built with
- Python
- FastAPI
- Playwright
Project overview
WebRelay maps inventory or purchase order requests to predefined report templates. Playwright collects and validates the rows in an isolated browser session.
Each run stores a screenshot and a report that can be downloaded.
The workflow
- Schedule a report
- Capture the portal
- Download the rows
Technical implementation
A report you can inspect
A scheduled job chooses an inventory or purchase order template. A fresh Chromium session reads the local sample portal and validates the rows. Its screenshot stays with the report so the operator can compare the download with the page.
Following a temporary outage
The demo can return a temporary error on the first visit. The execution timeline records the delay and the next attempt. After recovery, the same job offers its results as CSV or JSON.