From 5107623ab05780af76cbbb28b8021f563a7781e1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 23:37:42 +0000 Subject: [PATCH 1/2] Update dependency selenium to v4.47.0 --- examples/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/requirements.txt b/examples/python/requirements.txt index 8f84ef732b7..86e5c1bdcab 100644 --- a/examples/python/requirements.txt +++ b/examples/python/requirements.txt @@ -1,4 +1,4 @@ -selenium==4.46.0 +selenium==4.47.0 pytest==9.1.1 trio==0.33.0 pytest-trio==0.8.0 From b160555cfb4fbd9b44fc0d827ab05ab6267691de Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Mon, 10 Aug 2026 20:39:35 -0500 Subject: [PATCH 2/2] Fix Firefox test_set_context broken by geckodriver capability restriction geckodriver now rejects -remote-allow-system-access when set via FirefoxOptions capabilities, breaking the CI checks this PR is meant to pass (same issue fixed in PR #2756 for the Java examples). Pass --allow-system-access as a FirefoxService arg instead, matching the fix already applied in SeleniumHQ/selenium's own Python test suite (firefox_context_tests.py). Co-Authored-By: Claude Sonnet 5 --- examples/python/tests/browsers/test_firefox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/tests/browsers/test_firefox.py b/examples/python/tests/browsers/test_firefox.py index 20ff9beecec..fbe88b6aca8 100644 --- a/examples/python/tests/browsers/test_firefox.py +++ b/examples/python/tests/browsers/test_firefox.py @@ -145,8 +145,8 @@ def test_full_page_screenshot(firefox_driver): def test_set_context(): options = webdriver.FirefoxOptions() - options.add_argument("-remote-allow-system-access") - driver = webdriver.Firefox(options=options) + service = webdriver.FirefoxService(service_args=["--allow-system-access"]) + driver = webdriver.Firefox(options=options, service=service) with driver.context(driver.CONTEXT_CHROME): driver.execute_script("console.log('Inside Chrome context');")