Playwright offers different ways to select and access elements. Learn in this video why page locators ("page.locator") are preferred over element handles ("page.$").
Checkly's GitHub Sync feature (in public beta) enables developers to write their Browser check code in their favorite environment and then sync it automatically from GitHub to Checkly. The feature is still under development and receives constant updates. Developer Advocate, Stefan Judis, walks you through the recent additions.
Playwright's "page" object provides multiple methods to interact with DOM elements ("click", "fill", etc.). But these methods come with one downside: they're not strict. Learn in this video why strict mode is important and how locator method help to write better test cases.
While Playwright uses Jest's "expect" library for test assertions it adds additional functionality to it. Web-first assertions make web UI testing more convenient. Learn what they're about in this week's Playwright tip!
The new GitHub Sync feature just opened up for public beta. Put your Browser check code into version control and automatically synchronize your GitHub code with Checkly.
Debugging test cases that only occasionally fail or "work on your machine" can be tough. Luckily, Playwright allows you to record all your script's steps and travel back in time using the Trace Viewer. Learn in this video how trace all your Playwright scripts.
If you're running hundreds of Playwright scripts in your monitoring infrastructure you know that slow scripts lead to long-running test suites. Every Playwright script should run as quickly as possible. In this video, Stefan explains how to use Playwright's request interception feature to block requests and load websites faster.
If you're using hardcoded values such as a user agent or viewport dimension to configure a Playwright session, there's a better way! Learn in this tip how to use and access Playwright's provided device settings.
Debugging a headless automation script can be tough. Luckily, Playwright comes with a built-in inspector tool to make all browser actions easier to debug.