From 749a9301ca36abd7783d2babb066f0b16c7d21c8 Mon Sep 17 00:00:00 2001 From: JJetmar Date: Thu, 16 Mar 2023 14:06:26 +0100 Subject: [PATCH] fix: missing browser instance --- sources/academy/webscraping/puppeteer_playwright/browser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/academy/webscraping/puppeteer_playwright/browser.md b/sources/academy/webscraping/puppeteer_playwright/browser.md index 4e48fca00..7a7171ee7 100644 --- a/sources/academy/webscraping/puppeteer_playwright/browser.md +++ b/sources/academy/webscraping/puppeteer_playwright/browser.md @@ -59,7 +59,7 @@ In order to see what's actually happening, we can pass an **options** object ([P ```javascript import { chromium } from 'playwright'; -await chromium.launch({ headless: false }); +const browser = await chromium.launch({ headless: false }); await browser.newPage(); ```