-
-
Couldn't load subscription status.
- Fork 1.5k
chore(deps): update dependency selenium to v4.36.0 #2498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
db96eac to
73904fd
Compare
73904fd to
9b9f22f
Compare
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
CI Feedback 🧐
A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
Action: tests (ubuntu, nightly, 3.11)
Failed stage: Run tests [❌]
Failed test name: tests/bidi/cdp/test_network.py
Failure summary:
The action failed because pytest reported errors and test failures:
- ImportError in tests/bidi/cdp/test_network.py at line 5: ModuleNotFoundError: No module named
selenium.webdriver.common.devtools.v137. The tests expect selenium.webdriver.common.devtools.v137.network.Headers, but that package/version is not available
in the environment.
- Failing action/mouse tests indicating interactions not producing expected
results:
- tests/actions_api/test_keys.py:38: AssertionError — the input's value was empty instead
of "abc" after ActionChains(...).send_keys("abc").perform().
- tests/actions_api/test_mouse.py:116: AssertionError/ValueError — coordinates from element #absolute-location were incorrect or empty after pointer move (abs(int(coordinates[0]) - 8) < 2
failed / empty coordinate string).
The ImportError persisted across all three retry attempts,
causing the overall job to exit with code 1.
Relevant error logs:
1: ##[group]Runner Image Provisioner 2: Hosted Compute Agent ... 144: > Warning: Could not resolve keysym XF86CameraAccessToggle 145: > Warning: Could not resolve keysym XF86NextElement 146: > Warning: Could not resolve keysym XF86PreviousElement 147: > Warning: Could not resolve keysym XF86AutopilotEngageToggle 148: > Warning: Could not resolve keysym XF86MarkWaypoint 149: > Warning: Could not resolve keysym XF86Sos 150: > Warning: Could not resolve keysym XF86NavChart 151: > Warning: Could not resolve keysym XF86FishingChart 152: > Warning: Could not resolve keysym XF86SingleRangeRadar 153: > Warning: Could not resolve keysym XF86DualRangeRadar 154: > Warning: Could not resolve keysym XF86RadarOverlay 155: > Warning: Could not resolve keysym XF86TraditionalSonar 156: > Warning: Could not resolve keysym XF86ClearvuSonar 157: > Warning: Could not resolve keysym XF86SidevuSonar 158: > Warning: Could not resolve keysym XF86NavInfo 159: Errors from xkbcomp are not fatal to the X server 160: ##[group]Run actions/setup-python@v6 ... 468: Version: 11.0.28+6 469: Path: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.28-6/x64 470: ##[endgroup] 471: Creating settings.xml with server-id: github 472: Writing to /home/runner/.m2/settings.xml 473: ##[group]Run nick-invision/retry@v3.0.2 474: with: 475: timeout_minutes: 60 476: max_attempts: 3 477: command: cd examples/python 478: pytest --reruns 3 -n auto 479: 480: retry_wait_seconds: 10 481: polling_interval_seconds: 1 482: warning_on_retry: true 483: continue_on_error: false 484: env: ... 492: Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.13/x64 493: LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.13/x64/lib 494: JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.28-6/x64 495: JAVA_HOME_11_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.28-6/x64 496: ##[endgroup] 497: ##[group]Attempt 1 498: ============================= test session starts ============================== 499: platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0 500: rootdir: /home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python 501: plugins: rerunfailures-15.1, trio-0.8.0, xdist-3.8.0 502: created: 4/4 workers 503: 4 workers [165 items] 504: R......R..R....R.R....R...RR..R.R.F..R...R....R...F.sR.................. [ 35%] 505: ......ssssssss.ssssssss......s.......................................... [ 78%] 506: ................................... [100%] 507: ==================================== ERRORS ==================================== 508: _______________ ERROR collecting tests/bidi/cdp/test_network.py ________________ 509: ImportError while importing test module '/home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python/tests/bidi/cdp/test_network.py'. 510: Hint: make sure your test modules/packages have valid Python names. 511: Traceback: 512: /opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/importlib/__init__.py:126: in import_module 513: return _bootstrap._gcd_import(name[level:], package, level) 514: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 515: tests/bidi/cdp/test_network.py:5: in <module> 516: from selenium.webdriver.common.devtools.v137.network import Headers 517: E ModuleNotFoundError: No module named 'selenium.webdriver.common.devtools.v137' 518: =================================== FAILURES =================================== 519: _______________________ test_send_keys_to_active_element _______________________ 520: [gw0] linux -- Python 3.11.13 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 521: driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="b6c024d5ae9accdd404e3441d57db772")> 522: def test_send_keys_to_active_element(driver): 523: driver.get('https://selenium.dev/selenium/web/single_text_input.html') 524: ActionChains(driver)\ 525: .send_keys("abc")\ 526: .perform() 527: > assert driver.find_element(By.ID, "textInput").get_attribute('value') == "abc" 528: E AssertionError: assert '' == 'abc' 529: E 530: E - abc 531: tests/actions_api/test_keys.py:38: AssertionError 532: _________________ test_move_by_offset_from_viewport_origin_ab __________________ 533: [gw1] linux -- Python 3.11.13 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 534: driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="4608933237b246651c5101ca3ec2500f")> 535: def test_move_by_offset_from_viewport_origin_ab(driver): 536: driver.get('https://selenium.dev/selenium/web/mouse_interaction.html') 537: WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.ID, "absolute-location"))) 538: action = ActionBuilder(driver) 539: action.pointer_action.move_to_location(8, 0) 540: action.perform() 541: coordinates = driver.find_element(By.ID, "absolute-location").text.split(", ") 542: > assert abs(int(coordinates[0]) - 8) < 2 543: E AssertionError: assert 622 < 2 544: E + where 622 = abs((630 - 8)) 545: E + where 630 = int('630') 546: tests/actions_api/test_mouse.py:116: AssertionError 547: =========================== short test summary info ============================ 548: FAILED tests/actions_api/test_keys.py::test_send_keys_to_active_element - AssertionError: assert '' == 'abc' 549: - abc 550: FAILED tests/actions_api/test_mouse.py::test_move_by_offset_from_viewport_origin_ab - AssertionError: assert 622 < 2 551: + where 622 = abs((630 - 8)) 552: + where 630 = int('630') 553: ERROR tests/bidi/cdp/test_network.py 554: === 2 failed, 145 passed, 18 skipped, 1 error, 14 rerun in 134.65s (0:02:14) === 555: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1 556: ##[endgroup] 557: ##[group]Attempt 2 558: ============================= test session starts ============================== 559: platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0 560: rootdir: /home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python 561: plugins: rerunfailures-15.1, trio-0.8.0, xdist-3.8.0 562: created: 4/4 workers 563: 4 workers [165 items] 564: ..........R.....R.R..R...RR..R..R......F.R.R.....R.s.....R.........R...s [ 36%] 565: ........ssssssss...ssssssss............................................. [ 79%] 566: .................................. [100%] 567: ==================================== ERRORS ==================================== 568: _______________ ERROR collecting tests/bidi/cdp/test_network.py ________________ 569: ImportError while importing test module '/home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python/tests/bidi/cdp/test_network.py'. 570: Hint: make sure your test modules/packages have valid Python names. 571: Traceback: 572: /opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/importlib/__init__.py:126: in import_module 573: return _bootstrap._gcd_import(name[level:], package, level) 574: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 575: tests/bidi/cdp/test_network.py:5: in <module> 576: from selenium.webdriver.common.devtools.v137.network import Headers 577: E ModuleNotFoundError: No module named 'selenium.webdriver.common.devtools.v137' 578: =================================== FAILURES =================================== 579: _______________________ test_move_by_offset_from_element _______________________ 580: [gw1] linux -- Python 3.11.13 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 581: driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="71817b03695a9a339ebfbb57d71f9586")> 582: def test_move_by_offset_from_element(driver): 583: driver.get('https://selenium.dev/selenium/web/mouse_interaction.html') 584: mouse_tracker = driver.find_element(By.ID, "mouse-tracker") 585: ActionChains(driver) \ 586: .move_to_element_with_offset(mouse_tracker, 8, 0) \ 587: .perform() 588: coordinates = driver.find_element(By.ID, "relative-location").text.split(", ") 589: > assert abs(int(coordinates[0]) - 100 - 8) < 2 590: ^^^^^^^^^^^^^^^^^^^ 591: E ValueError: invalid literal for int() with base 10: '' 592: tests/actions_api/test_mouse.py:104: ValueError 593: =========================== short test summary info ============================ 594: FAILED tests/actions_api/test_mouse.py::test_move_by_offset_from_element - ValueError: invalid literal for int() with base 10: '' 595: ERROR tests/bidi/cdp/test_network.py 596: === 1 failed, 146 passed, 18 skipped, 1 error, 13 rerun in 99.67s (0:01:39) ==== 597: ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1 598: ##[endgroup] 599: ##[group]Attempt 3 600: ============================= test session starts ============================== 601: platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0 602: rootdir: /home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python 603: plugins: rerunfailures-15.1, trio-0.8.0, xdist-3.8.0 604: created: 4/4 workers 605: 4 workers [165 items] 606: .R.............R.R.R..R...RR........R......R..sR...F..R......R...R....s. [ 36%] 607: .......ssssssss...ssssssss...................R.......................... [ 78%] 608: ................................... [100%] 609: ==================================== ERRORS ==================================== 610: _______________ ERROR collecting tests/bidi/cdp/test_network.py ________________ 611: ImportError while importing test module '/home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/python/tests/bidi/cdp/test_network.py'. 612: Hint: make sure your test modules/packages have valid Python names. 613: Traceback: 614: /opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/importlib/__init__.py:126: in import_module 615: return _bootstrap._gcd_import(name[level:], package, level) 616: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 617: tests/bidi/cdp/test_network.py:5: in <module> 618: from selenium.webdriver.common.devtools.v137.network import Headers 619: E ModuleNotFoundError: No module named 'selenium.webdriver.common.devtools.v137' 620: =================================== FAILURES =================================== 621: _________________ test_move_by_offset_from_viewport_origin_ab __________________ 622: [gw1] linux -- Python 3.11.13 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 623: driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="862ee7ad9d66b57f442d0cd852aeaa11")> 624: def test_move_by_offset_from_viewport_origin_ab(driver): 625: driver.get('https://selenium.dev/selenium/web/mouse_interaction.html') 626: WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.ID, "absolute-location"))) 627: action = ActionBuilder(driver) 628: action.pointer_action.move_to_location(8, 0) 629: action.perform() 630: coordinates = driver.find_element(By.ID, "absolute-location").text.split(", ") 631: > assert abs(int(coordinates[0]) - 8) < 2 632: ^^^^^^^^^^^^^^^^^^^ 633: E ValueError: invalid literal for int() with base 10: '' 634: tests/actions_api/test_mouse.py:116: ValueError 635: =========================== short test summary info ============================ 636: FAILED tests/actions_api/test_mouse.py::test_move_by_offset_from_viewport_origin_ab - ValueError: invalid literal for int() with base 10: '' 637: ERROR tests/bidi/cdp/test_network.py 638: === 1 failed, 146 passed, 18 skipped, 1 error, 14 rerun in 101.16s (0:01:41) === 639: ##[endgroup] 640: ##[error]Final attempt failed. Child_process exited with error code 1 641: Post job cleanup.
This PR contains the following updates:
==4.35.0->==4.36.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.