MCPcopy Create free account
hub / github.com/python-visualization/folium / __init__

Method __init__

tests/selenium/conftest.py:21–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 """Selenium WebDriver wrapper that adds folium test specific features."""
20
21 def __init__(self):
22 options = ChromeOptions()
23 options.add_argument("--no-sandbox")
24 options.add_argument("--disable-dev-shm-usage")
25 options.add_argument("--disable-gpu")
26 options.add_argument("--headless")
27 options.add_argument("--window-size=1024,768")
28 super().__init__(options=options)
29
30 def get_file(self, filepath):
31 self.clean_window()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected