Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(academy): remove extraneous semicolon #901

Merged
merged 1 commit into from Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -16,7 +16,7 @@

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)

Check warning on line 19 in sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md

View workflow job for this annotation

GitHub Actions / lint

[vale] reported by reviewdog 🐶 [write-good.Passive] 'be run' may be passive voice. Use active voice if you can. Raw Output: {"message": "[write-good.Passive] 'be run' may be passive voice. Use active voice if you can.", "location": {"path": "sources/academy/webscraping/puppeteer_playwright/executing_scripts/index.md", "range": {"start": {"line": 19, "column": 63}}}, "severity": "WARNING"}

Here is an example of a common mistake made by beginners to Puppeteer/Playwright:

Expand Down