Why waitFor API not supported?
caoxiaoshuai1 opened this issue · 2 comments
caoxiaoshuai1 commented
Why waitFor API not supported?
In many situtation, waitForElement can't cover all scenes, it is original supported by puppeteer.
In the docs, all puppeteer API can be used correctly, but actually not.
g-plane commented
The waitFor
API from puppeteer supports three cases, which supported in Rize.
- Wait for timeout. In this case you can use
sleep
method. - Wait for element. In this case you can use
waitForElement
method. - Wait for executing a code snippet. In this case you can use
waitForEvaluation
method.
Hope it helps.
g-plane commented
Closing this issue as it looks like the question has been answered.