Skip to content

CSS selector does not work for some queries #47

@youngcha101

Description

@youngcha101

Thanks for the very helpful library!
While using this with HTML, I found some CSS selector queries don't work. For example, when I tried to find elements under a specific element with a query like "#price .a-color-price", it generates the error below:

XPath error : Invalid expression
.//[@id = 'price']/descendant::[@id = 'a-col']*[contains(concat(' ',normalize-space(@Class),' '),' a-color-price ')]

Can you please fix this error if I'm not using CSS selector in a wrong way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions