Twine

WP Tester – automated website health checks (Node.js + Playwright)

Reinis Āboliņš
Published

0
  • Project creator

Brief: my own tool. After WordPress and plugin updates something often breaks quietly: a fatal error on one page, a broken script, a missing image. I wanted a one-click check that finds it before the client does, and a clear report I can hand to a client.

What I built

  • Crawler that reads the sitemap and opens each page in a real headless browser (Chromium via Playwright)
  • Finds PHP fatal errors, JavaScript errors, broken assets and 4xx / 5xx responses
  • Clicks popups and tabs to reach hidden content, and takes screenshots
  • Mobile speed check with Lighthouse
  • Flags outdated plugins, a publicly accessible debug log and missing security headers
  • Two modes: passive (visitor-like, respects robots.txt, limited pages) and owner (full checks on sites I maintain)
  • Generates branded client reports (HTML / PDF) in Latvian and English, published to a protected client portal with an access code
  • Web interface (Express) and command-line interface

Result: used in day-to-day maintenance work to verify sites after every update round, and to produce site-check reports for clients.

Stack: Node.js, Express, Playwright, Lighthouse.