diff --git a/docs/core-concepts.md b/docs/core-concepts.md index 260e514f5e..0263eb7bac 100644 --- a/docs/core-concepts.md +++ b/docs/core-concepts.md @@ -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