Browser Library & Playwright for Web Testing
Workshop Date: March 16, 2026, 16:00 — 42 Vienna, Muthgasse 24-26, 1190 Vienna
- Fork this repository (click "Fork" on GitHub)
- Open a Codespace on your fork: Code → Codespaces → Create codespace on main
- Run the first test:
uv run robot tests/00_setup_verification/
That's it! If the test passes, your environment is ready.
Robot Framework is a generic test automation framework. Unlike specialized tools (Cypress for web only, Postman for API only), Robot Framework uses one syntax and one reporting format across different testing domains:
- Web testing → Browser Library (Playwright) or SeleniumLibrary
- API testing → RequestsLibrary or RESTinstance
- Mobile testing → AppiumLibrary
- Desktop testing → Various libraries
This workshop focuses on web testing using Browser Library against SauceDemo.
- A GitHub account (that's it — we use Codespaces)
- Optionally: local setup with Python 3.12+, Node.js 22+, and uv
- Welcome, intro, environment setup
- RF syntax walkthrough + Browser Library basics
- Guided exercises: Login & Product tests
- Resource files, keyword abstraction, free exercises
- AI-assisted testing demo
- PR creation, CI results, wrap-up
- Getting Started — setup guide (Codespaces, local, Windows)
- RF Syntax Cheatsheet — quick reference
- Browser Library Guide — Browser Library keywords
- Exercises — progressive hands-on exercises
- Troubleshooting — common issues and fixes
- AI-Assisted Testing — using AI for test generation
- Student Workflow — fork, write tests, submit PR
- Windows Setup — detailed Windows instructions
- Full Documentation Site — hosted on GitHub Pages
# Verify environment
python scripts/check_environment.py
# Install dependencies
uv sync
# Initialize browsers
uv run rfbrowser init chromium
# Run all tests
uv run robot tests/
# Run specific suite
uv run robot tests/02_login_tests/
# Run your exercises
uv run robot tests/student_exercises/yourname_*.robotMIT — Nikolaus Rieder, 2026