Playwright is a Node.Js library that automates browsers using the same API for all three (Chromium, Firefox, and WebKit). As a result, Playwright enables cross-browser automation that is evergreen, capable, reliable, and fast. Playwright can also access the REST API of your application to help you perform API testing.