Plainwork

Developer

Local Browser QA Kit - Playwright Tests for Digital Products

A reusable local test suite for checking web pages, downloads, links and common layout regressions

€24 one-time · download link by email after payment
  • 25 Python files: 8 reusable helper modules, 16 test modules and conftest.py, 307 tests in all
  • Checks navigation, broken links and anchors, form validation, keyboard use, mobile viewports, screenshots, console errors and page weight
  • Download integrity: file name, ZIP, PDF and image structure, size limits and SHA-256 against a published checksum list
  • Accessibility basics: alt text, labels, control names, headings, language and colour contrast
  • Local pages and local dev servers only; any other address is refused, so nothing is sent over the network
  • Sample website, a second site with planted defects that proves every detector works, JSON report with schema, Markdown guide
  • Use in your own and your clients' projects; the kit itself may not be resold or shared
Local Browser QA Kit - Playwright Tests for Digital Products

About this product

The Local Browser QA Kit is a pytest and Playwright test suite you point at a folder of HTML files or at a dev server on your own machine. It checks the things that quietly break before a release: menus that lead nowhere, dead links and missing anchors, forms that accept bad input, pages that scroll sideways on a phone, images that fail to load, console errors, download files that are damaged or no longer match their checksum, missing labels and alt text, low contrast and pages that have grown too heavy.

You get eight reusable helper modules, sixteen test modules with 307 tests, a settings file for pages, viewports and budgets, and a sample website with a matching defect version. The defect site exists so the kit can prove that each detector finds what it claims to find. Every run writes a JSON report that follows the bundled schema, plus a Markdown summary. Screenshot comparison uses baselines that you create on your own machine.

The kit needs Python 3.10 or newer, Playwright and pytest (pinned in requirements.txt; Playwright downloads its own browser). Pillow and pypdf are optional. It only visits localhost and other local addresses. The accessibility checks cover common basics and are not a full audit, and colour contrast skips text placed on images.

What you get

  • conftest.py, helpers/ (8 modules) and tests/ (16 modules)
  • sample_site/ and sample_site_defects/ (original pages, images, PDF and ZIP)
  • testdata/ (form inputs, expected downloads)
  • schema/qa-report.schema.json
  • qa.config.example.json, pytest.ini, requirements.txt
  • docs/GUIDE.md, README.txt, LICENSE.txt

Formats: py, json, html, md, txt

For: Developers, freelancers and small studios who ship websites, web apps or downloadable products and want repeatable local checks

Order by invoice

Pay by invoice (PayPal or bank transfer) - handy for companies and bulk licences. You receive the invoice and your download link by email.