New issue
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
Recursive $/$$ #508
Labels
Comments
This gonna be a part of object handles story: #382 |
@aslushnikov So when can we use something like |
aslushnikov
pushed a commit
that referenced
this issue
Oct 27, 2017
This patch adds `ElementHandle.$` and `ElementHandle.$$` methods to query nested elements. Fixes #508
ithinkihaveacat
pushed a commit
to ithinkihaveacat/puppeteer
that referenced
this issue
Oct 31, 2017
…eer#1151) This patch adds `ElementHandle.$` and `ElementHandle.$$` methods to query nested elements. Fixes puppeteer#508
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe add the ability to get child elements on
ElementHandle
instances, using$
, and$$
, syntax should work like:Along with
$$
, this would make iterating pages with recursive structures so much more easier, no longer requiring it all to be kept inside of.evaluate
callbacks.Such as:
Don't think this would be too hard to implement, and work make automation a lot easier
The text was updated successfully, but these errors were encountered: