Skip to content
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

Update dependency selenium to v4.21.0 #1721

Merged
merged 6 commits into from
May 31, 2024
Merged

Update dependency selenium to v4.21.0 #1721

merged 6 commits into from
May 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
selenium ==4.20.0 -> ==4.21.0 age adoption passing confidence

Configuration

📅 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

netlify bot commented May 16, 2024

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 09ffd12
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/6659ee9caa93c400080a8f28
😎 Deploy Preview https://deploy-preview-1721--selenium-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

qodo-merge-pro bot commented May 16, 2024

CI Failure Feedback 🧐

(Checks updated until commit dc57544)

Action: test_examples (macos-latest, stable)

Failed stage: Run tests [❌]

Failed test name: test_mutation

Failure summary:

The action failed because the test test_mutation in the file
tests/bidirectional/chrome_devtools/test_bidi_api.py encountered a JavascriptException.

  • The exception message indicated that an invalid or illegal selector was specified.
  • This error occurred during the execution of a Selenium WebDriver command, specifically when
    attempting to find elements using a CSS selector.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  macOS
    ...
    
    152:  Installing collected packages: pip
    153:  Successfully installed pip-24.0
    154:  Install OpenSSL certificates
    155:  Collecting certifi
    156:  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
    157:  Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
    158:  Installing collected packages: certifi
    159:  Successfully installed certifi-2024.2.2
    160:  ##[error][notice] A new release of pip is available: 21.1.1 -> 24.0
    ...
    
    315:  timeout_minutes: 20
    316:  max_attempts: 3
    317:  command: cd examples/python
    318:  pytest
    319:  
    320:  retry_wait_seconds: 10
    321:  polling_interval_seconds: 1
    322:  warning_on_retry: true
    323:  continue_on_error: false
    ...
    
    355:  tests/drivers/test_remote_webdriver.py .                                 [ 75%]
    356:  tests/drivers/test_service.py ...                                        [ 78%]
    357:  tests/elements/test_file_upload.py .                                     [ 79%]
    358:  tests/interactions/test_alerts.py ...                                    [ 82%]
    359:  tests/interactions/test_virtual_authenticator.py ..........              [ 91%]
    360:  tests/support/test_select_list.py ...                                    [ 94%]
    361:  tests/troubleshooting/test_logging.py .                                  [ 95%]
    362:  tests/waits/test_waits.py .....                                          [100%]
    363:  =================================== FAILURES ===================================
    ...
    
    417:  |     raise exception.with_traceback(exception.__traceback__)
    418:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pluggy/_callers.py", line 103, in _multicall
    419:  |     res = hook_impl.function(*args)
    420:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call
    421:  |     result = testfunction(**testargs)
    422:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 348, in wrapper
    423:  |     return run(partial(fn, **kwargs), clock=clock, instruments=instruments)
    424:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 2303, in run
    425:  |     raise runner.main_task_outcome.error
    426:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test
    427:  |     raise test_ctx.error_list[0]
    428:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 197, in _fixture_manager
    429:  |     nursery_fixture.cancel_scope.cancel()
    430:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    431:  |     raise combined_error_from_nursery
    ...
    
    442:  |     await self.gen.athrow(typ, value, traceback)
    443:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1038, in bidi_connection
    444:  |     yield BidiConnection(session, cdp, devtools)
    445:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 189, in __aexit__
    446:  |     await self.gen.athrow(typ, value, traceback)
    447:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/bidi/cdp.py", line 481, in open_cdp
    448:  |     await conn.aclose()
    449:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    450:  |     raise combined_error_from_nursery
    ...
    
    459:  |     driver.find_element(By.ID, "reveal").click()
    460:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 178, in __aexit__
    461:  |     await self.gen.__anext__()
    462:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/log.py", line 84, in mutation_events
    463:  |     elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    464:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 771, in find_elements
    465:  |     return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    466:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    467:  |     self.error_handler.check_response(response)
    468:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    469:  |     raise exception_class(message, screen, stacktrace)
    470:  | selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    488:  | 15  chromedriver                        0x0000000104cd4b08 chromedriver + 4213512
    489:  | 16  chromedriver                        0x0000000104cd4c84 chromedriver + 4213892
    490:  | 17  chromedriver                        0x0000000104ce2a08 chromedriver + 4270600
    491:  | 18  libsystem_pthread.dylib             0x000000018395af94 _pthread_start + 136
    492:  | 19  libsystem_pthread.dylib             0x0000000183955d34 thread_start + 8
    493:  | 
    494:  +------------------------------------
    495:  =========================== short test summary info ============================
    496:  FAILED tests/bidirectional/chrome_devtools/test_bidi_api.py::test_mutation - exceptiongroup.ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
    497:  ============= 1 failed, 100 passed, 7 skipped in 311.52s (0:05:11) =============
    498:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
    ...
    
    518:  tests/drivers/test_remote_webdriver.py .                                 [ 75%]
    519:  tests/drivers/test_service.py ...                                        [ 78%]
    520:  tests/elements/test_file_upload.py .                                     [ 79%]
    521:  tests/interactions/test_alerts.py ...                                    [ 82%]
    522:  tests/interactions/test_virtual_authenticator.py ..........              [ 91%]
    523:  tests/support/test_select_list.py ...                                    [ 94%]
    524:  tests/troubleshooting/test_logging.py .                                  [ 95%]
    525:  tests/waits/test_waits.py .....                                          [100%]
    526:  =================================== FAILURES ===================================
    ...
    
    580:  |     raise exception.with_traceback(exception.__traceback__)
    581:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pluggy/_callers.py", line 103, in _multicall
    582:  |     res = hook_impl.function(*args)
    583:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call
    584:  |     result = testfunction(**testargs)
    585:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 348, in wrapper
    586:  |     return run(partial(fn, **kwargs), clock=clock, instruments=instruments)
    587:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 2303, in run
    588:  |     raise runner.main_task_outcome.error
    589:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test
    590:  |     raise test_ctx.error_list[0]
    591:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 197, in _fixture_manager
    592:  |     nursery_fixture.cancel_scope.cancel()
    593:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    594:  |     raise combined_error_from_nursery
    ...
    
    605:  |     await self.gen.athrow(typ, value, traceback)
    606:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1038, in bidi_connection
    607:  |     yield BidiConnection(session, cdp, devtools)
    608:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 189, in __aexit__
    609:  |     await self.gen.athrow(typ, value, traceback)
    610:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/bidi/cdp.py", line 481, in open_cdp
    611:  |     await conn.aclose()
    612:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    613:  |     raise combined_error_from_nursery
    ...
    
    622:  |     driver.find_element(By.ID, "reveal").click()
    623:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 178, in __aexit__
    624:  |     await self.gen.__anext__()
    625:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/log.py", line 84, in mutation_events
    626:  |     elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    627:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 771, in find_elements
    628:  |     return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    629:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    630:  |     self.error_handler.check_response(response)
    631:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    632:  |     raise exception_class(message, screen, stacktrace)
    633:  | selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    651:  | 15  chromedriver                        0x00000001008d4b08 chromedriver + 4213512
    652:  | 16  chromedriver                        0x00000001008d4c84 chromedriver + 4213892
    653:  | 17  chromedriver                        0x00000001008e2a08 chromedriver + 4270600
    654:  | 18  libsystem_pthread.dylib             0x000000018395af94 _pthread_start + 136
    655:  | 19  libsystem_pthread.dylib             0x0000000183955d34 thread_start + 8
    656:  | 
    657:  +------------------------------------
    658:  =========================== short test summary info ============================
    659:  FAILED tests/bidirectional/chrome_devtools/test_bidi_api.py::test_mutation - exceptiongroup.ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
    660:  ============= 1 failed, 100 passed, 7 skipped in 359.64s (0:05:59) =============
    661:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
    ...
    
    681:  tests/drivers/test_remote_webdriver.py .                                 [ 75%]
    682:  tests/drivers/test_service.py ...                                        [ 78%]
    683:  tests/elements/test_file_upload.py .                                     [ 79%]
    684:  tests/interactions/test_alerts.py ...                                    [ 82%]
    685:  tests/interactions/test_virtual_authenticator.py ..........              [ 91%]
    686:  tests/support/test_select_list.py ...                                    [ 94%]
    687:  tests/troubleshooting/test_logging.py .                                  [ 95%]
    688:  tests/waits/test_waits.py .....                                          [100%]
    689:  =================================== FAILURES ===================================
    ...
    
    743:  |     raise exception.with_traceback(exception.__traceback__)
    744:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pluggy/_callers.py", line 103, in _multicall
    745:  |     res = hook_impl.function(*args)
    746:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call
    747:  |     result = testfunction(**testargs)
    748:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 348, in wrapper
    749:  |     return run(partial(fn, **kwargs), clock=clock, instruments=instruments)
    750:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 2303, in run
    751:  |     raise runner.main_task_outcome.error
    752:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 426, in _bootstrap_fixtures_and_run_test
    753:  |     raise test_ctx.error_list[0]
    754:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pytest_trio/plugin.py", line 197, in _fixture_manager
    755:  |     nursery_fixture.cancel_scope.cancel()
    756:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    757:  |     raise combined_error_from_nursery
    ...
    
    768:  |     await self.gen.athrow(typ, value, traceback)
    769:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1038, in bidi_connection
    770:  |     yield BidiConnection(session, cdp, devtools)
    771:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 189, in __aexit__
    772:  |     await self.gen.athrow(typ, value, traceback)
    773:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/bidi/cdp.py", line 481, in open_cdp
    774:  |     await conn.aclose()
    775:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/trio/_core/_run.py", line 963, in __aexit__
    776:  |     raise combined_error_from_nursery
    ...
    
    785:  |     driver.find_element(By.ID, "reveal").click()
    786:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 178, in __aexit__
    787:  |     await self.gen.__anext__()
    788:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/log.py", line 84, in mutation_events
    789:  |     elements: list = self.driver.find_elements(By.CSS_SELECTOR, f"*[data-__webdriver_id={payload['target']}")
    790:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 771, in find_elements
    791:  |     return self.execute(Command.FIND_ELEMENTS, {"using": by, "value": value})["value"] or []
    792:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    793:  |     self.error_handler.check_response(response)
    794:  |   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    795:  |     raise exception_class(message, screen, stacktrace)
    796:  | selenium.common.exceptions.JavascriptException: Message: javascript error: {"status":32,"value":"An invalid or illegal selector was specified"}
    ...
    
    814:  | 15  chromedriver                        0x0000000103380b08 chromedriver + 4213512
    815:  | 16  chromedriver                        0x0000000103380c84 chromedriver + 4213892
    816:  | 17  chromedriver                        0x000000010338ea08 chromedriver + 4270600
    817:  | 18  libsystem_pthread.dylib             0x000000018395af94 _pthread_start + 136
    818:  | 19  libsystem_pthread.dylib             0x0000000183955d34 thread_start + 8
    819:  | 
    820:  +------------------------------------
    821:  =========================== short test summary info ============================
    822:  FAILED tests/bidirectional/chrome_devtools/test_bidi_api.py::test_mutation - exceptiongroup.ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
    823:  ============= 1 failed, 100 passed, 7 skipped in 267.51s (0:04:27) =============
    824:  ##[error]Final attempt failed. Child_process exited with error code 1
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @renovate renovate bot force-pushed the renovate/selenium-4.x branch from 7786ac6 to 39a2798 Compare May 29, 2024 20:16
    @renovate renovate bot force-pushed the renovate/selenium-4.x branch from 0cfbcf4 to 4a8658d Compare May 31, 2024 13:28
    @diemol diemol merged commit df1aa4d into trunk May 31, 2024
    12 checks passed
    @diemol diemol deleted the renovate/selenium-4.x branch May 31, 2024 16:13
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant