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

Method get_element

seleniumbase/fixtures/base_case.py:10417–10420  ·  view source on GitHub ↗

Same as wait_for_element_present() - returns the element. The element does not need be visible (it may be hidden).

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

Source from the content-addressed store, hash-verified

10415 )
10416
10417 def get_element(self, selector, by="css selector", timeout=None):
10418 """Same as wait_for_element_present() - returns the element.
10419 The element does not need be visible (it may be hidden)."""
10420 return self.wait_for_element_present(selector, by=by, timeout=timeout)
10421
10422 def locator(self, selector, by="css selector", timeout=None):
10423 """Same as wait_for_element_present() - returns the element.

Callers 11

getMethod · 0.95
__get_shadow_elementMethod · 0.95
element_ophalenMethod · 0.80
obtenir_élémentMethod · 0.80
ottenere_elementoMethod · 0.80
obtener_elementoMethod · 0.80
요소_검색Method · 0.80
要素を取得するMethod · 0.80
获取元素Method · 0.80
obter_elementoMethod · 0.80

Calls 1

Tested by

no test coverage detected