Skip to content

Commit

Permalink
Fix sattable locators
Browse files Browse the repository at this point in the history
  • Loading branch information
lhellebr authored and pondrejk committed Sep 6, 2024
1 parent 228fa76 commit 64f48b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions airgun/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,8 +1936,12 @@ class SatTable(Table):
"""

HEADERS = "./thead/tr/th[not(@hidden)]|./tr/th[not(@hidden)]|./thead/tr/td[not(@hidden)]"
COLUMN_RESOLVER_PATH = "/td[not(@hidden)]"
HEADER_IN_ROWS = "./tbody/tr[1]/th[not(@hidden)]"
HEADERS = (
"./thead/tr/th[not(@hidden)]|./tr/th[not(@hidden)]|./thead/tr/td[not(@hidden)]"
+ "|"
+ HEADER_IN_ROWS
)
COLUMN_AT_POSITION = "./td[not(@hidden)][{0}]"

no_rows_message = (
Expand Down

0 comments on commit 64f48b0

Please sign in to comment.