Deprecation Warning on waitForTimeout() #833
Unanswered
Eprince-hub
asked this question in
Q&A
Replies: 1 comment
-
i was facing the same warning i fixed that by uning async functions !! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
await page.waitForTimeout(5000);
function to wait for some action to complete before I go on, but I am getting a deprecation warning below. Everything works fine, and I can also use theawait new Promise((resolve) => setTimeout(resolve, 5000));
but I just want to know why this is showing the deprecation warning when it's still included to be used from the documentation.Beta Was this translation helpful? Give feedback.
All reactions