MCPcopy Index your code
hub / github.com/python-visualization/folium / wait_until

Method wait_until

tests/selenium/conftest.py:51–55  ·  view source on GitHub ↗

Wait for and return the element(s) selected by css_selector.

(self, css_selector, timeout=10)

Source from the content-addressed store, hash-verified

49 raise RuntimeError(f'Javascript error: "{msg}".')
50
51 def wait_until(self, css_selector, timeout=10):
52 """Wait for and return the element(s) selected by css_selector."""
53 wait = WebDriverWait(self, timeout=timeout)
54 is_visible = visibility_of_element_located((By.CSS_SELECTOR, css_selector))
55 return wait.until(is_visible)

Callers 3

test_notebookFunction · 0.80
test_geojsonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected