Skip to content
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

multi-element XPath support #195

Merged
merged 2 commits into from
May 19, 2022
Merged

multi-element XPath support #195

merged 2 commits into from
May 19, 2022

Conversation

leastbad
Copy link
Contributor

@leastbad leastbad commented Apr 8, 2022

Acting on a request from @W3NDO, this PR would allow the select_all option to co-exist with xpath selectors.

It required the introduction of a xpathToElementArray utility function, which returns an Array of nodes (that could be empty, depending on your query results).

@leastbad leastbad added enhancement proposal javascript Pull requests that update Javascript code labels Apr 8, 2022
@leastbad leastbad added this to the 5.0 milestone Apr 8, 2022
@leastbad leastbad merged commit f9228a1 into master May 19, 2022
@leastbad leastbad deleted the xpath_multi_element branch May 19, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement javascript Pull requests that update Javascript code proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant