class_docstr: Selenium WebDriver wrapper that adds folium test specific features.
class_docstr_tok: ["Selenium","WebDriver","wrapper","that","adds","folium","test","specific","features","."]
docstr: Wait for and return the element(s) selected by css_selector.
docstr_tok: ["Wait","for","and","return","the","element","(","s",")","selected","by","css_selector","."]
code: def wait_until(self, css_selector, timeout=10):
      """Wait for and return the element(s) selected by css_selector."""
      wait = WebDriverWait(self, timeout=timeout)
      is_visible = visibility_of_element_located(
          (By.CSS_SELECTOR, css_selector)
      )
      return wait.until(is_visible)
  
file_path: folium/tests/selenium/conftest.py
imports: import pytest
  from selenium.webdriver import Chrome, ChromeOptions
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.expected_conditions import visibility_of_element_located
  from selenium.webdriver.support.ui import WebDriverWait
label_desc: Use image node_id 5 for calling the DriverFolium obj's underlying member method code with example usage: obj.wait_until(css_selector, timeout) and returns: wait