Playwright is a test automation tool specifically engineered for the modern web and generally runs very quickly, even for complex testing projects.
Playwright enables reliable end-to-end testing for modern web apps.
Playwright is a relatively new open source tool for browser automation, with its first version released by Microsoft in 2020. It was built by the team behind Puppeteer, which is a headless testing framework for Chrome/Chromium.
While far newer than Selenium, Playwright is picking up steam quickly and has a growing following. Due in part to its young age, it supports fewer browsers/languages than Selenium, but by the same token it also includes newer features and capabilities that are more aligned with the modern web. It is actively developed by Microsoft.
Below mentioned are some key features which could ask you to drive a bit toward Playwright and explore further
NPM NPM stands for Node Package Manager. It is a software registry; Open source developers from every continent use npm to share and borrow packages, and many organisations use npm to manage private development as well.
Install Playwright: Most Reliable Web Automation Tool. We can use yarn or npm. Or Alternatively a VScode Extension can also serve the purpose. Lets have a look how to get playwright using npm.