MCPcopy Index your code
hub / github.com/seleniumbase/SeleniumBase / find_element

Method find_element

seleniumbase/fixtures/base_case.py:10530–10532  ·  view source on GitHub ↗

Same as wait_for_element_visible() - returns the element

(self, selector, by="css selector", timeout=None)

Source from the content-addressed store, hash-verified

10528 return True
10529
10530 def find_element(self, selector, by="css selector", timeout=None):
10531 """Same as wait_for_element_visible() - returns the element"""
10532 return self.wait_for_element_visible(selector, by=by, timeout=timeout)
10533
10534 def assert_element(self, selector, by="css selector", timeout=None):
10535 """Similar to wait_for_element_visible(), but returns nothing.

Callers 15

flashMethod · 0.95
click_link_textMethod · 0.45
get_parentMethod · 0.45
assert_link_textMethod · 0.45
__get_shadow_elementMethod · 0.45
is_element_presentFunction · 0.45
is_element_visibleFunction · 0.45
is_element_clickableFunction · 0.45
is_element_enabledFunction · 0.45
is_text_visibleFunction · 0.45
is_exact_text_visibleFunction · 0.45

Calls 1

Tested by

no test coverage detected