Create a scalable framework from scratch to run Playwright UI tests with Python, Parallel execution, Reporting, CI/CD
What you'll learn
- Web Automation with Playwright and Python
- Pytest framework with markers and fixtures
- Parallel execution
- CI/CD, DevOps
- No prior knowledge required
- Windows/Mac/Linux machine
DescriptionSpin up your automation framework from scratch in a matter of days! It's super fast with Python and pytest.
Then comes Playwright with its nitrogen-fast browser test execution! We are going to blend Playwright capabilities into the pytest framework with the use of markers, fixtures, CLI commands.
In this course we will cover:
- Python basics
- project structure
- page object model
- parallel execution
- create our own pytest fixtures for set_up and tear_down methods
- utilize existing Playwright fixtures
- deploy our test to CI/CD using GitHub Actions
- Learn yml syntax
- Store login passwords securely as GitHub Secrets
Playwright enables fast, reliable and capable testing and automation across all modern browsers.
Support for all browsers
- Test on Chromium, Firefox and WebKit. Playwright has full API coverage for all modern browsers, including Google Chrome and Microsoft Edge (with Chromium), Apple Safari (with WebKit) and Mozilla Firefox. Test can run in headful and headless modes
- By fast I mean REALLY fast!
- Auto-wait APIs. Playwright interactions auto-wait for elements to be ready. This improves reliability and simplifies test authoring.
- Fast isolation with browser contexts. Reuse a single browser instance for multiple isolated execution environments with browser contexts.
- Resilient element selectors. Playwright can rely on user-facing strings, like text content and accessibility labels to select elements.
Who this course is for:
- Automation Testers
- Manual QA Analysts
- Developers and BAs who want to learn or improve their automation skills