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

Unexpected Present #26

Open
bjellesma opened this issue Jul 20, 2018 · 0 comments
Open

Unexpected Present #26

bjellesma opened this issue Jul 20, 2018 · 0 comments

Comments

@bjellesma
Copy link

Hi,

I was using jqueryElementPresent and discovered that if the selector has a syntax error, then the method will still conclude that the element is present.

For example, I was using the following
.assert.jqueryElementPresent('tr.visitorRow:has(> td.visitorName:contains('+visitor["name"]+')))')

Even though the selector has an extra ), the statement would evaluate that the element is present even though it isn't. I'm not sure if this is expected behavior or something that you may want to create an exception for.

Thanks!

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