Playwright Free Course using Javascript or Typescript
Playwright
Playwright is a powerful and flexible library for automating web browsers. It allows you to write tests for your web applications in a way that is both easy to read and maintain.
Course Content
- Playwright
- Install Playwright
- Playwright Features
- API Testing
- Playwright UI Mode
- Mock API
- Playwright Fixtures + Page Objects
- Visual Testing
- Playwright CLI
- Parameterized Tests
- Parallel Tests
- Sharding
- Authentication
- Playwright Report - Alternative
- Automated Accessibility Testing
- Playwright ARIA Snapshots
Install Playwright
In this video I will show you how to install Playwright in your project together with a Visual Studio Code extension. Also, automatically generate a Github Actions workflow to run your tests in your CI/CD pipeline.
Playwright Features
In this video I explored some Playwright features like:
- Info annotations
- Download Browsers
- Debug options
- Soft Assertions
API Testing
In this video I will show you how to test the API of a web application using Playwright.
Playwright UI Mode
In this video I will show you how to use the UI mode of Playwright to interact with the web application.
Mock API
In this video I will show you how to mock the API of a web application using Playwright.
Playwright Fixtures + Page Objects
In this video I will show you how to use Playwright Fixtures and Page Objects to create a more organized and maintainable test suite.
Visual Testing
In this video I will show you how to use Playwright Visual Testing to create a visual regression test for your web application.
Playwright CLI
In this video I will show you how to use the Playwright CLI to create a new test suite and how to run your tests.
Parameterized Tests
We can use different kind of parameters with Playwright. In this video I will show you how to use different kind of parameters with Playwright.
Parallel Tests
In this video I will show you how to run your tests in parallel using Playwright.
Sharding
Sharding is a technique used in Playwright to divide your tests into smaller chunks. This is useful when you have a large number of tests and you want to run them in parallel.
Authentication
In this video I will show you how to handle authentication in your web application using Playwright. This is an approach to share the same authentication between different tests.
Playwright Report - Alternative
There is a alternative to generate a report of your tests using Playwright. it is not an official report, but it is a good alternative to generate a report of your tests.
Automated Accessibility Testing
In this video I will show you how to use Playwright to test the accessibility of your web application.
Playwright ARIA Snapshots
In this video I will show you how to use Playwright ARIA Snapshots to test the accessibility tree of your web application.