MCPcopy
hub / github.com/plotly/dash / filter

Method filter

components/dash-table/tests/selenium/conftest.py:347–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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()

Callers 15

filter_clearMethod · 0.95
filter_clickMethod · 0.95
filter_invalidMethod · 0.95
filter_valueMethod · 0.95
filter_placeholderMethod · 0.95
OptionFunction · 0.80
tokenizeFunction · 0.80
filterOptionsFunction · 0.80
CalendarComponentFunction · 0.80
DatePickerRangeFunction · 0.80
DropdownFunction · 0.80

Calls 2

find_elementMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected