Skip to content

Commit

Permalink
chore(deps): update dependency selenium to v4.26.1 (#2032)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
renovate[bot] and VietND96 authored Nov 1, 2024
1 parent cd25039 commit 6e06acf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
selenium==4.26.0
selenium==4.26.1
pytest
trio
pytest-trio
Expand Down
4 changes: 2 additions & 2 deletions examples/python/tests/drivers/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion examples/python/tests/drivers/test_remote_webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit 6e06acf

Please sign in to comment.