Use Playwright codegen to create new Checkly browser checks in minutes



AI Summary

The video explains how to use Checkly browser checks to test and monitor websites and apps globally on a schedule, leveraging Microsoft’s Playwright for browser automation. It demonstrates creating a browser check from scratch using Playwright code generation, which records user actions and assertions to build a monitoring script quickly. The presenter shows how to generate Playwright code using Playwright 1.40 or later, add assertions for elements’ visibility and text, and then run the script within Checkly’s infrastructure. The video highlights the ease and speed of creating synthetic monitoring checks with Playwright codegen, mentions refactoring the generated code for better maintainability, and recommends VS Code’s Playwright extension for further test case recording and debugging.