From ba28947cd521d5972c91c44e750f4d02177033fd Mon Sep 17 00:00:00 2001 From: Conengmo <33519926+Conengmo@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:22:36 +0100 Subject: [PATCH] Revert "fix deprecated selenium call" This reverts commit 7f037b0be24398a5bec6d2031c911e1273b3129a. --- requirements-dev.txt | 2 +- tests/selenium/test_geojson_selenium.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 4c416c539..3834e1e8b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ pycodestyle pydata-sphinx-theme pytest scipy -selenium +selenium<4.27.0 setuptools_scm sphinx types-requests diff --git a/tests/selenium/test_geojson_selenium.py b/tests/selenium/test_geojson_selenium.py index 92790fa91..1908adb83 100644 --- a/tests/selenium/test_geojson_selenium.py +++ b/tests/selenium/test_geojson_selenium.py @@ -35,4 +35,4 @@ def test_geojson(driver): ) assert control_label.text == "geojson" control_input = control_label.find_element(By.CSS_SELECTOR, value="input") - assert control_input.get_dom_attribute("checked") is None + assert control_input.get_attribute("checked") is None