diff --git a/examples/python/requirements.txt b/examples/python/requirements.txt index 8d89e7b48296..234f278f9e4b 100644 --- a/examples/python/requirements.txt +++ b/examples/python/requirements.txt @@ -1,4 +1,4 @@ -selenium==4.26.0 +selenium==4.26.1 pytest trio pytest-trio diff --git a/examples/python/tests/drivers/test_options.py b/examples/python/tests/drivers/test_options.py index fb5193f33b2f..d71e1ed605ae 100644 --- a/examples/python/tests/drivers/test_options.py +++ b/examples/python/tests/drivers/test_options.py @@ -84,8 +84,8 @@ def test_set_browser_name(): def test_set_browser_version(): options = webdriver.ChromeOptions() - options.browser_version = 'latest' - assert options.capabilities['browserVersion'] == 'latest' + options.browser_version = 'stable' + assert options.capabilities['browserVersion'] == 'stable' driver = webdriver.Chrome(options=options) driver.get("https://www.selenium.dev/") driver.quit() diff --git a/examples/python/tests/drivers/test_remote_webdriver.py b/examples/python/tests/drivers/test_remote_webdriver.py index 48725bba06ce..ff765c2025dd 100644 --- a/examples/python/tests/drivers/test_remote_webdriver.py +++ b/examples/python/tests/drivers/test_remote_webdriver.py @@ -13,7 +13,7 @@ def test_start_remote(server): options = webdriver.ChromeOptions() driver = webdriver.Remote(command_executor=server, options=options) - assert "localhost" in driver.command_executor._url + assert "localhost" in driver.command_executor._client_config.remote_server_addr driver.quit()