Skip to content

Commit ba952a7

Browse files
committed
chore: update readme
1 parent 2f0fffb commit ba952a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,16 @@ export default /** @type {import('@heymp/scratchpad/src/config').Config} */ ({
4646

4747
The `scratchpad.config.js` exposes a method for altering the playwright runtime.
4848
This allows you to interact with the Playwright API to perform actions like blocking
49-
network requests or navigating to different urls.
49+
network requests or navigating to different urls. See [https://playwright.dev/](https://playwright.dev/) for documentation on using the Playwright runtime.
5050

5151
```js
5252
export default ({
5353
devtools: true,
5454
url: 'https://google.com',
5555
headless: true,
56+
playwright: async (args) => {
57+
const { page, context } = args;
58+
}
5659
});
5760
```
5861

0 commit comments

Comments
 (0)