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

HtmlQueryStrategy wrong response in isMultipleValueAttribute #68

Open
favio41 opened this issue Sep 19, 2013 · 0 comments
Open

HtmlQueryStrategy wrong response in isMultipleValueAttribute #68

favio41 opened this issue Sep 19, 2013 · 0 comments

Comments

@favio41
Copy link

favio41 commented Sep 19, 2013

The problem rise when com.gistlabs.mechanize.document.query.QueryPart.doesMatch(..) check isMultipleValueAttribute, but the object to analise is from instance of Element instead of Node.

Solve the problem in com.gistlabs.mechanize.document.html.query.HtmlQueryStrategy line 55 if( (object instanceof Node || object instanceof Element) && ...)

Cheers

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