Skip to content

Commit

Permalink
upgrade selenium version to 4.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s.pirohov committed Jul 22, 2023
1 parent 173a2c0 commit d914d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_chrome_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from webdriver_manager.chrome import ChromeDriverManager
from webdriver_manager.core.constants import ROOT_FOLDER_NAME
from selenium.webdriver.chrome.service import Service as ChromeService, Service
from selenium.webdriver.chrome.service import Service

os.environ.setdefault("WDM_LOCAL", "true")

Expand Down Expand Up @@ -49,7 +49,7 @@ def test_chrome_manager_with_wrong_version():

def test_chrome_manager_with_selenium():
driver_path = ChromeDriverManager().install()
driver = webdriver.Chrome(service=ChromeService(driver_path))
driver = webdriver.Chrome(service=Service(driver_path))
driver.get("http://automation-remarks.com")
driver.close()

Expand Down

0 comments on commit d914d77

Please sign in to comment.