Playwright is a Node library to automate web browsers (Chromium, Webkit and Firefox).
## Getting started
### Installation
```
npm i playwright
```
### Usage
Playwright can be used to create a browser instance, open pages, and then manipulate them. See [API docs](https://github.com/microsoft/playwright/blob/master/docs/api.md) for a comprehensive list.
#### Example
This code snippet navigates to example.com in the Webkit browser, and saves a screenshot.
```js
const pw = require('playwright');
(async () => {
const browser = await pw.playwright('webkit').launch(); // or 'chromium', 'firefox'