(self)
| 345 | self.mixin._wait_for_table(self.id) |
| 346 | |
| 347 | def filter(self): |
| 348 | return ( |
| 349 | self.mixin.find_element( |
| 350 | "#{} {} tbody tr th.dash-filter.column-{}:not(.phantom-cell)".format( |
| 351 | self.id, self.state, self.col |
| 352 | ) |
| 353 | ) |
| 354 | if isinstance(self.col, int) |
| 355 | else self.mixin.find_element( |
| 356 | '#{} {} tbody tr th.dash-filter[data-dash-column="{}"]:not(.phantom-cell)'.format( |
| 357 | self.id, self.state, self.col |
| 358 | ) |
| 359 | ) |
| 360 | ) |
| 361 | |
| 362 | def filter_clear(self): |
| 363 | self.filter().find_element(By.CSS_SELECTOR, "input").click() |
no test coverage detected