mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: add documentation to xpath prefix and deprecated page.waitForTimeout (#9014)
This commit is contained in:
committed by
Randolf J
parent
5dbd69e1a4
commit
b7b07e3790
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user