docs: fix typo in Core Concepts doc page (#3343)

This commit is contained in:
Thad Guidry 2020-08-07 10:27:47 -05:00 committed by GitHub
parent 4ec3290da3
commit 9d543f9446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ await page.waitForSelector('#promo', { state: 'detached' });
## Execution contexts: Node.js and Browser
Playwright scripts run in your Node.js environment. You page scripts run in the browser page environment. Those environments don't intersect, they are running in different virtual machines in different processes and even potentially on different computers.
Playwright scripts run in your Node.js environment. Your page scripts run in the browser page environment. Those environments don't intersect, they are running in different virtual machines in different processes and even potentially on different computers.
The [`page.evaluate`](https://github.com/microsoft/playwright/blob/master/docs/api.md#pageevaluatepagefunction-arg) API can run a JavaScript function in the context
of the web page and bring results back to the Node.js environment. Browser globals like