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

Tryin' to select the inner fieldset, selects both #726

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Tryin' to select the inner fieldset, selects both #726

wants to merge 1 commit into from

Conversation

claudiu-cristea
Copy link

The test proving the bug.

@claudiu-cristea
Copy link
Author

claudiu-cristea commented Nov 2, 2016

I think it's the same bug as in #714

@claudiu-cristea claudiu-cristea changed the title Tryin' to select the inner fieldset, is selecting both Nov 2, 2016
@stof
Copy link
Member

stof commented Nov 2, 2016

The issue is that the outer fieldset also contains a legend containing the requested text. The current XPath does not enforce that there is no other fieldset between them (I don't know whether enforcing it is easy in XPath)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants