Welcome to the Playwright Examples repository for the talk:
Clicking the GUI is not enough! How Playwright can help you discover new automation strategies (also with AI)
This project helps you learn and practice Playwright beyond just UI testing. It includes examples for UI, REST API, GraphQL, WebSockets, a11y, visual testing, and more.
Whether you're a beginner or an experienced tester, you'll find practical examples and resources to level up your testing skills.
Tip
Want to learn more about Playwright? Check out our courses:
- Professional Automation with Playwright - a comprehensive (100h+) program on Playwright, professional test frameworks, CI/CD, and test architecture
- Playwright Elements - key concepts and advanced features of Playwright
- free resources - a large collection of FREE Playwright learning materials
To run the examples, set up the demo application locally and then run the Playwright tests.
- Node.js (version 14 or higher)
- NPM or Yarn package manager
- 🦎GAD – a free demo app running locally on
http://localhost:3000
Important
Want to quickly test the application?
- clone or download the repository https://github.com/jaktestowac/gad-gui-api-demo
- run
npm i - run
npm run start - open http://localhost:3000 in your browser
- enjoy testing and automating 🦎 GAD!
-
Clone the Repository: Start by cloning the demo app to your local machine.
git clone https://github.com/jaktestowac/gad-gui-api-demo.git cd gad-gui-api-demo -
Install Dependencies: Install the dependencies using npm or yarn.
npm install
-
Start the Application: Run the application locally.
npm run start
-
Access the Application: Open http://localhost:3000 in your browser.
With the application running locally, set up and run the Playwright tests.
-
Clone this Repository
git clone https://github.com/jaktestowac/playwright-examples-testwarez-2025.git cd playwright-examples-testwarez-2025 -
Install Dependencies
npm install
Make sure you have Playwright browsers installed:
npx playwright install
-
Run the Tests
npx playwright test
This repository includes a variety of examples demonstrating different testing strategies with Playwright:
- UI testing:
tests/ui - UI accessibility:
tests/a11y - REST API:
tests/apiand mocked API:tests/api-mock - GraphQL:
tests/graphql - Multi-session scenarios:
tests/multi-session - Visual regression testing:
tests/visual-testingand canvas mocking:tests/visual-testing-mock - WebSockets:
tests/websockets - Mocking network requests:
tests/visual-testing-mockandtests/api-mock
Run all tests with npx playwright test or target a folder/file for specific suites.
Materials about AI and Playwright are available in our course: Playwright & AI.
Happy testing! 🚀
Feel free to reach out to us:
- 🌐 Website: jaktestowac.pl
- 💼 LinkedIn: jaktestowac.pl
- 💬 Discord: Polish Playwright Community
- 📧 Support: Check our website for contact details
We have gathered a collection of resources to help you learn and master Playwright, both in Polish and English.
- TypeScript for Testers - Express Introduction - Free (4h+) course on TypeScript for Testers
- JavaScript and TypeScript for Testers - Comprehensive (13h+) course on JavaScript and TypeScript for testers, with practical examples and exercises
- Professional Test Automation with Playwright - Comprehensive (100h+) course on Playwright, test automation, CI/CD and test architecture
- Back-end Test Automation - Comprehensive (45h+) course on Back-end Test Automation with Postman, Mocha, Chai, and Supertest
- Free Playwright Resources - Comprehensive and Free Polish learning materials
- Playwright Basics - YouTube series (Polish)
- Playwright Elements - Advanced concepts (Polish)
- Playwright MCP - MCP course (Polish)
- Discord Community - First Polish Playwright community!
- Playwright Info - first and only Polish Playwright blog
Gain an edge by combining AI knowledge with the most popular tools in the IT market.
We'll show you how to accelerate with AI and build a professional test automation framework. 😉
- AI_Testers - Main page about AI_Testers Program
- AI_Testers LinkedIn - Follow us on LinkedIn
- VS Code Extensions - Our free Playwright plugins
PS. For more resources and updates, follow us on our website and GitHub.
Powered by jaktestowac.pl team! 💚❤️

