Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/python-4.26.0' into renovate/sel…
Browse files Browse the repository at this point in the history
…enium-4.x
  • Loading branch information
VietND96 committed Oct 31, 2024
2 parents 8d4c901 + 7c24154 commit 04f439d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 04f439d

Please sign in to comment.