We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多层嵌套的iframe,我原以为 await page.waitFor('iframe'),然后一路 waitFor 下去就好了,但实际上不行,因为虽然一路 waitFor 的确能爬到最终的登录页,但是调用 frame3.type() 时发现怎么也没用,搞了两小时,最后请同事帮忙看了下,同事在 await page.waitFor('iframe') 前面加了个 await page.waitFor(5000) 就好了。。。。。。
await page.waitFor('iframe')
waitFor
frame3.type()
await page.waitFor(5000)
可能是因为多层嵌套的 iframe 加载太慢了,但是很奇怪啊,await page.waitFor('iframe') 不是等你加载完嘛,不熟,赶鸭子上架踩坑了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
多层嵌套的iframe,我原以为
await page.waitFor('iframe')
,然后一路waitFor
下去就好了,但实际上不行,因为虽然一路waitFor
的确能爬到最终的登录页,但是调用frame3.type()
时发现怎么也没用,搞了两小时,最后请同事帮忙看了下,同事在await page.waitFor('iframe')
前面加了个await page.waitFor(5000)
就好了。。。。。。可能是因为多层嵌套的 iframe 加载太慢了,但是很奇怪啊,
await page.waitFor('iframe')
不是等你加载完嘛,不熟,赶鸭子上架踩坑了The text was updated successfully, but these errors were encountered: