We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaadc41 commit 2de5c4dCopy full SHA for 2de5c4d
1 file changed
tests/selenium/test_geojson_selenium.py
@@ -1,5 +1,6 @@
1
import folium
2
import folium.plugins
3
+from selenium.webdriver.common.by import By
4
from folium.utilities import temp_html_filepath
5
6
@@ -32,5 +33,5 @@ def test_geojson(driver):
32
33
'.leaflet-control-layers-overlays > label:nth-of-type(2)'
34
)
35
assert control_label.text == 'geojson'
- control_input = control_label.find_element_by_css_selector('input')
36
+ control_input = control_label.find_element(By.CSS_SELECTOR, value='input')
37
assert control_input.get_attribute('checked') is None
0 commit comments