Skip to content

Another update to the xpath-to-css converter #688

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

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

mdmintz
Copy link
Member

@mdmintz mdmintz commented Sep 9, 2020

Another update to the xpath-to-css converter

  • Handle the case of // in the middle of an xpath selector

Example:

self.convert_xpath_to_css("//section//p/p//div")
'section p > p div'

See the xpath cheatsheet for more details: https://devhints.io/xpath

@mdmintz mdmintz merged commit 0bf5179 into master Sep 9, 2020
@mdmintz mdmintz deleted the update-xpath-to-css-converter branch September 9, 2020 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant