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

Navigator.filter is case sensitive #482

rickirunge opened this issue Apr 26, 2017 · 1 comment

Navigator.filter is case sensitive #482

rickirunge opened this issue Apr 26, 2017 · 1 comment


Copy link

rickirunge commented Apr 26, 2017

Just found that Navigator.filter(selector) is case sensitive for tag names.

Let's say I have a button on the page, like this


It seems the find method is not case sensitive, as both of these finds the button



If i use then add the filter method something stange happens:

def buttons = navigator.find("BUTTON")

buttons.filter("BUTTON") // This will filter away the button, even though it was just found using the exact same selector

buttons.filter("button") // But if I use a lowercase selector the button is not filtered away

I would expect that if I use the exact same selector in filter as used in find, then I wouldn't have any effect on the result.
But I seems the case matters for filter and doesn't matter for find.

Copy link

erdi commented May 6, 2017

Fixed in geb/geb@54a7a43

@erdi erdi closed this as completed May 6, 2017
@erdi erdi added this to the 1.2 milestone May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants