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

XPath nested selectors doesn't always work #26

Open
kamituel opened this issue Jan 8, 2016 · 0 comments
Open

XPath nested selectors doesn't always work #26

kamituel opened this issue Jan 8, 2016 · 0 comments

Comments

@kamituel
Copy link
Contributor

kamituel commented Jan 8, 2016

For a UI map like this:

(def ui {:el1 {:self (by-xpath "//*....")
                   :child (by-xpath "//h1")
            {:el2 {:self (by-xpath "//*....")
                   :child (by-xpath "//h1")}

(note that :child is same in both submaps), when doing: ($ :el2 :child), the :el1 :child is returned.
When :child selector is CSS, not XPath, it seems to be working well.

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

No branches or pull requests

1 participant