Playwright is a Node.js library built by Microsoft that automates websites and web applications running on Chromium, Firefox, and WebKit through a single API. Developers writing JavaScript code can use these APIs to create new browser pages, navigate to URLs, and interact with elements on the page. In addition, because Microsoft Edge is built on the open-source Chromium web platform, Playwright can also automate Microsoft Edge.