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
Rod Version: v0.114.5
for elements, err := page.Elements("#box > iframe"); err == nil && !elements.Empty(); { // Always loop // delete element for "#box > iframe" }
get one iframe element, but delete iframe after, still get one iframe element. 获取一个iframe元素,但在之后删除iframe,仍然获得一个iframe元素。
new result 新的结果
use page.Element 使用 page.Element
The text was updated successfully, but these errors were encountered:
是我这边的问题 for不该这么使用的
Sorry, something went wrong.
No branches or pull requests
Rod Version: v0.114.5
The code to demonstrate your question
What you got
get one iframe element, but delete iframe after, still get one iframe element.
获取一个iframe元素,但在之后删除iframe,仍然获得一个iframe元素。
What you expect to see
new result
新的结果
What have you tried to solve the question
use page.Element
使用 page.Element
The text was updated successfully, but these errors were encountered: