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

Method is_element_present

seleniumbase/undetected/cdp_driver/tab.py:1343–1348  ·  view source on GitHub ↗
(self, selector)

Source from the content-addressed store, hash-verified

1341 return await self.get_html()
1342
1343 async def is_element_present(self, selector):
1344 try:
1345 await self.select(selector, timeout=0.01)
1346 return True
1347 except Exception:
1348 return False
1349
1350 async def is_element_visible(self, selector):
1351 if ":contains(" not in selector:

Callers 3

__gui_click_recaptchaMethod · 0.95
solve_captchaMethod · 0.95

Calls 1

selectMethod · 0.95

Tested by

no test coverage detected