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

Supporting tables that have both horizontal and vertical headers #2703

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

Conversation

lukaszmakuch
Copy link

Hi! 👋

Thank you for Capybara, I truly enjoy its neat-looking API!

Some time ago, while working on a project that had a table where both columns and rows were assigned some headers (like this example from MDN), I ran into issues with rows:. I wanted to check whether all the expected rows were present on the page, but I couldn't verify the content of the cells that acted as the headers of the rows.

I decided to contribute to this wonderful project by extending the behavior of "rows". Now it supports TH cells in TR rows.

Let me know what you think. 🙂

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

Successfully merging this pull request may close these issues.

1 participant