mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
Typo fix (#3430)
This commit is contained in:
parent
4f05039944
commit
d9727c62df
@ -976,7 +976,7 @@ const divsCounts = await page.$$eval('div', (divs, min) => divs.length >= min, 1
|
||||
|
||||
Adds a script which would be evaluated in one of the following scenarios:
|
||||
- Whenever the page is navigated.
|
||||
- Whenever the child frame is attached or navigated. In this case, the scritp is evaluated in the context of the newly attached frame.
|
||||
- Whenever the child frame is attached or navigated. In this case, the script is evaluated in the context of the newly attached frame.
|
||||
|
||||
The script is evaluated after the document was created but before any of its scripts were run. This is useful to amend the JavaScript environment, e.g. to seed `Math.random`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user