-
Notifications
You must be signed in to change notification settings - Fork 17
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
XPath support #12
Comments
Makes sense to me. Was waiting for someone to ask to implement this. |
This isn't particularly challenging but it is making me rethink the API. Puppeteer and Playwright have entirely different APIs on this front. I tend to air towards Playwright when that happens but I've already started down a path which is closer to Puppeteer. This would probably require a breaking change to fix. This is to say: I haven't forgotten this issue! It's just not super clear how to approach. |
have you made any progress on this one? also, do you need any help with it? |
Unfortunately, I have not. This needs to be a breaking change to align us with playwright. If you'd like to pick it up, feel free! |
So umm, can we just use https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate |
Internally, yep. That's exactly what puppeteer does iirc. |
Support for finding elements by XPath?
The text was updated successfully, but these errors were encountered: