-
Notifications
You must be signed in to change notification settings - Fork 123
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
add method to query child elements #1579
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For readability it would be awesome, if we could chain
.dom()
method calls:This would be the same as currently:
Main pain point with this one is that it gets messy if the main selector is not as easy as
'h1'
.I'm not fully convinced by the API I proposed above. It would be best if the API would allow asserting against multiple childs of a main element using chaining. A good example is a form element, which we want to assert against
label
andinput
child elements. This is not supported using chaining by the API proposed above. Maybe someone else has a better idea, which would support even that.The text was updated successfully, but these errors were encountered: