MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / check_if_unchecked

Method check_if_unchecked

seleniumbase/core/sb_cdp.py:2859–2862  ·  view source on GitHub ↗
(self, selector)

Source from the content-addressed store, hash-verified

2857 return self.is_checked(selector)
2858
2859 def check_if_unchecked(self, selector):
2860 selector = self.__convert_to_css_if_xpath(selector)
2861 if not self.is_checked(selector):
2862 self.click(selector)
2863
2864 def select_if_unselected(self, selector):
2865 selector = self.__convert_to_css_if_xpath(selector)

Callers 3

select_if_unselectedMethod · 0.95
check_if_uncheckedFunction · 0.45
test_todomvcMethod · 0.45

Calls 3

is_checkedMethod · 0.95
clickMethod · 0.95

Tested by 1

test_todomvcMethod · 0.36