Skip to content

Commit 6e06acf

Browse files
chore(deps): update dependency selenium to v4.26.1 (#2032)
* Python 4.26.1 and update examples test * chore(deps): update dependency selenium to v4.26.1 --------- Signed-off-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent cd25039 commit 6e06acf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
selenium==4.26.0
1+
selenium==4.26.1
22
pytest
33
trio
44
pytest-trio

examples/python/tests/drivers/test_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ def test_set_browser_name():
8484

8585
def test_set_browser_version():
8686
options = webdriver.ChromeOptions()
87-
options.browser_version = 'latest'
88-
assert options.capabilities['browserVersion'] == 'latest'
87+
options.browser_version = 'stable'
88+
assert options.capabilities['browserVersion'] == 'stable'
8989
driver = webdriver.Chrome(options=options)
9090
driver.get("https://www.selenium.dev/")
9191
driver.quit()

examples/python/tests/drivers/test_remote_webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_start_remote(server):
1313
options = webdriver.ChromeOptions()
1414
driver = webdriver.Remote(command_executor=server, options=options)
1515

16-
assert "localhost" in driver.command_executor._url
16+
assert "localhost" in driver.command_executor._client_config.remote_server_addr
1717
driver.quit()
1818

1919

0 commit comments

Comments
 (0)