question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Table Header Should Contain" might get <th> elements from footer

See original GitHub issue

Table Header Should Contain keyword is looking for <th> elements everywhere in a table:

https://github.com/robotframework/SeleniumLibrary/blob/44a41f0a8ce719c928cd9d7fe7b33b3998006ee3/src/SeleniumLibrary/keywords/tableelement.py#L199-L200

Given that <th> tag can be enclosed within <tfoot>, it doesn’t seem right to treat it as a header.

It seems like a bug.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
php-codercommented, Aug 29, 2019

Thank you for the fast reply! Yes, sure I’ll prepare test cases on weekend.

1reaction
aaltatcommented, Aug 29, 2019

Interesting, would it possible to get static HTML page and simple test case that demonstrates the problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Table Header Should Contain" might get <th> elements from ...
Given that <th> tag can be enclosed within <tfoot> , it doesn't seem right to treat it as a header.
Read more >
<th>: The Table Header element - HTML - MDN Web Docs
This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1 . Values ......
Read more >
Tables in HTML documents
Table cells may either contain "header" information (see the TH element) or "data" (see the TD element). Cells may span multiple rows and...
Read more >
html - Is it necessary to have <th> in any table? - Stack Overflow
<th> elements aren't required anywhere. They're simply one of the two cell types (the other being <td> ) that you can use in...
Read more >
Making Tables With Sticky Header and Footers Got a Bit Easier
It wasn't long ago when I looked at sticky headers and footers in HTML s in ... But it could do table cells...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found