diff --git a/airgun/widgets.py b/airgun/widgets.py index 607c6d20d..ff5a35d3d 100644 --- a/airgun/widgets.py +++ b/airgun/widgets.py @@ -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 = (