chore: add documentation to xpath prefix and deprecated page.waitForTimeout (#9014)

This commit is contained in:
Pedro Campelo Matheus
2022-10-04 19:22:58 -03:00
committed by Randolf J
parent 5dbd69e1a4
commit b7b07e3790
10 changed files with 42 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ sidebar_label: Frame.waitForTimeout
> Warning: This API is now obsolete.
>
> Use `new Promise(r => setTimeout(r, milliseconds));`.
> Replace with `new Promise(r => setTimeout(r, milliseconds));`.
>
> Causes your script to wait for the given number of milliseconds.