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

Method is_element_present

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

Source from the content-addressed store, hash-verified

2875 self.uncheck_if_checked(selector)
2876
2877 def is_element_present(self, selector):
2878 try:
2879 self.select(selector, timeout=0.01)
2880 return True
2881 except Exception:
2882 return False
2883
2884 def is_element_visible(self, selector):
2885 selector = self.__convert_to_css_if_xpath(selector)

Callers 15

select_allMethod · 0.95
__click_captchaMethod · 0.95
_uc_gui_click_captchaFunction · 0.45
_uc_gui_handle_captcha_Function · 0.45
_uc_gui_handle_captchaFunction · 0.45
element_aanwezigMethod · 0.45
è_elemento_presenteMethod · 0.45

Calls 1

selectMethod · 0.95

Tested by

no test coverage detected