From 78a3337862b33c8bdcbfb299fb1c01412f098538 Mon Sep 17 00:00:00 2001 From: Honza Javorek Date: Wed, 27 Mar 2024 10:24:24 +0100 Subject: [PATCH] remove extraneous semicolon --- .../webscraping/puppeteer_playwright/executing_scripts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md b/sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md index 23113386e..896a8e037 100644 --- a/sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md +++ b/sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md @@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem'; An important concept to understand when dealing with headless browsers is the **context** in which your code is being run. For example, if you try to use the native `fs` Node.js module (used in the previous lesson) while running code in the context of the browser, errors will be thrown saying that it is undefined. Similarly, if you are trying to use `document.querySelector()` or other browser-specific functions in the server-side Node.js context, errors will also be thrown. -![Diagram explaining the two different contexts your code can be run in](../images/context-diagram.jpg); +![Diagram explaining the two different contexts your code can be run in](../images/context-diagram.jpg) Here is an example of a common mistake made by beginners to Puppeteer/Playwright: