robotframework / robotframework/SeleniumLibrary
"Table Footer Should Contain" should take into account <th> elements
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Table Footer Should Contain is always looking for <td> tag within <tfoot>:
but it's valid to have <th> tags there also. Example: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
Can we have this keyword fixed to take into account <th> tags as well?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/SeleniumLibrary/keywords/tableelement.py at the Table Footer Should Contain implementation around lines 202–203. Reproduce the keyword with a valid containing elements, then verify that footer tables using either or are accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, python
- Domain
- testing-qa, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100