diff --git a/README.md b/README.md index 9f534c6..3997057 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,11 @@ const { saveVideo } = require('playwright-video'); (async () => { const browser = await chromium.launch(); - const context = await browser.newContext(); - const page = await context.newPage(); await saveVideo(page, '/tmp/video.mp4'); - await page.goto('http://example.org'); - await page.click('a'); await browser.close();