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

chore(deps): update dependency selenium to v4.26.0 #2023

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
selenium ==4.25.0 -> ==4.26.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 was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit cdf94a6
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/67221e77060c43000852ebef
😎 Deploy Preview https://deploy-preview-2023--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

codiumai-pr-agent-pro bot commented Oct 30, 2024

CI Failure Feedback 🧐

(Checks updated until commit cdf94a6)

Action: tests (windows, stable)

Failed stage: Run tests [❌]

Failed test name: test_set_browser_version

Failure summary:

The action failed because the test test_set_browser_version encountered an error:

  • The Selenium WebDriver was unable to obtain the driver for Chrome.
  • This resulted in a NoSuchDriverException being raised.
  • The error suggests checking the Selenium documentation for troubleshooting driver location issues.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    301:  timeout_minutes: 20
    302:  max_attempts: 3
    303:  command: cd examples/python
    304:  pytest
    305:  
    306:  retry_wait_seconds: 10
    307:  polling_interval_seconds: 1
    308:  warning_on_retry: true
    309:  continue_on_error: false
    ...
    
    345:  tests\elements\test_file_upload.py .                                     [ 77%]
    346:  tests\interactions\test_alerts.py ...                                    [ 79%]
    347:  tests\interactions\test_print_options.py .......                         [ 84%]
    348:  tests\interactions\test_prints_page.py .                                 [ 85%]
    349:  tests\interactions\test_virtual_authenticator.py ..........              [ 93%]
    350:  tests\support\test_select_list.py ...                                    [ 95%]
    351:  tests\troubleshooting\test_logging.py .                                  [ 96%]
    352:  tests\waits\test_waits.py ....::debug::Code: 1
    353:  ##[warning]Attempt 1 failed. Reason: Timeout of 1200000ms hit
    ...
    
    377:  tests\elements\test_file_upload.py .                                     [ 77%]
    378:  tests\interactions\test_alerts.py ...                                    [ 79%]
    379:  tests\interactions\test_print_options.py .......                         [ 84%]
    380:  tests\interactions\test_prints_page.py .                                 [ 85%]
    381:  tests\interactions\test_virtual_authenticator.py ..........              [ 93%]
    382:  tests\support\test_select_list.py ...                                    [ 95%]
    383:  tests\troubleshooting\test_logging.py .                                  [ 96%]
    384:  tests\waits\test_waits.py .....                                          [100%]
    385:  ================================== FAILURES ===================================
    ...
    
    391:  browser = self._options.capabilities["browserName"]
    392:  try:
    393:  path = self._service.path
    394:  if path:
    395:  logger.debug(
    396:  "Skipping Selenium Manager; path to %s driver specified in Service class: %s", browser, path
    397:  )
    398:  if not Path(path).is_file():
    399:  raise ValueError(f"The path is not a valid file: {path}")
    ...
    
    456:  browser = self._options.capabilities["browserName"]
    457:  try:
    458:  path = self._service.path
    459:  if path:
    460:  logger.debug(
    461:  "Skipping Selenium Manager; path to %s driver specified in Service class: %s", browser, path
    462:  )
    463:  if not Path(path).is_file():
    464:  raise ValueError(f"The path is not a valid file: {path}")
    465:  self._paths["driver_path"] = path
    466:  else:
    467:  output = SeleniumManager().binary_paths(self._to_args())
    468:  if Path(output["driver_path"]).is_file():
    469:  self._paths["driver_path"] = output["driver_path"]
    470:  else:
    471:  raise ValueError(f'The driver path is not a valid file: {output["driver_path"]}')
    472:  if Path(output["browser_path"]).is_file():
    473:  self._paths["browser_path"] = output["browser_path"]
    474:  else:
    475:  raise ValueError(f'The browser path is not a valid file: {output["browser_path"]}')
    476:  except Exception as err:
    477:  msg = f"Unable to obtain driver for {browser}"
    478:  >           raise NoSuchDriverException(msg) from err
    479:  E           selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
    ...
    
    525:  tests/browsers/test_internet_explorer.py::test_log_to_file
    526:  tests/browsers/test_internet_explorer.py::test_log_to_stdout
    527:  tests/browsers/test_internet_explorer.py::test_log_level
    528:  tests/browsers/test_internet_explorer.py::test_supporting_files
    529:  C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\selenium\webdriver\ie\webdriver.py:52: DeprecationWarning: setting remote_server_addr in RemoteConnection() is deprecated, set in ClientConfig instance instead
    530:  executor = RemoteConnection(
    531:  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
    532:  =========================== short test summary info ===========================
    533:  FAILED tests/drivers/test_options.py::test_set_browser_version - selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
    534:  ===== 1 failed, 124 passed, 6 skipped, 120 warnings in 1080.03s (0:18:00) =====
    535:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
    ...
    
    559:  tests\elements\test_file_upload.py .                                     [ 77%]
    560:  tests\interactions\test_alerts.py ...                                    [ 79%]
    561:  tests\interactions\test_print_options.py .......                         [ 84%]
    562:  tests\interactions\test_prints_page.py .                                 [ 85%]
    563:  tests\interactions\test_virtual_authenticator.py ..........              [ 93%]
    564:  tests\support\test_select_list.py ...                                    [ 95%]
    565:  tests\troubleshooting\test_logging.py .                                  [ 96%]
    566:  tests\waits\test_waits.py .....                                          [100%]
    567:  ================================== FAILURES ===================================
    ...
    
    573:  browser = self._options.capabilities["browserName"]
    574:  try:
    575:  path = self._service.path
    576:  if path:
    577:  logger.debug(
    578:  "Skipping Selenium Manager; path to %s driver specified in Service class: %s", browser, path
    579:  )
    580:  if not Path(path).is_file():
    581:  raise ValueError(f"The path is not a valid file: {path}")
    ...
    
    638:  browser = self._options.capabilities["browserName"]
    639:  try:
    640:  path = self._service.path
    641:  if path:
    642:  logger.debug(
    643:  "Skipping Selenium Manager; path to %s driver specified in Service class: %s", browser, path
    644:  )
    645:  if not Path(path).is_file():
    646:  raise ValueError(f"The path is not a valid file: {path}")
    647:  self._paths["driver_path"] = path
    648:  else:
    649:  output = SeleniumManager().binary_paths(self._to_args())
    650:  if Path(output["driver_path"]).is_file():
    651:  self._paths["driver_path"] = output["driver_path"]
    652:  else:
    653:  raise ValueError(f'The driver path is not a valid file: {output["driver_path"]}')
    654:  if Path(output["browser_path"]).is_file():
    655:  self._paths["browser_path"] = output["browser_path"]
    656:  else:
    657:  raise ValueError(f'The browser path is not a valid file: {output["browser_path"]}')
    658:  except Exception as err:
    659:  msg = f"Unable to obtain driver for {browser}"
    660:  >           raise NoSuchDriverException(msg) from err
    661:  E           selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
    ...
    
    707:  tests/browsers/test_internet_explorer.py::test_log_to_file
    708:  tests/browsers/test_internet_explorer.py::test_log_to_stdout
    709:  tests/browsers/test_internet_explorer.py::test_log_level
    710:  tests/browsers/test_internet_explorer.py::test_supporting_files
    711:  C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\selenium\webdriver\ie\webdriver.py:52: DeprecationWarning: setting remote_server_addr in RemoteConnection() is deprecated, set in ClientConfig instance instead
    712:  executor = RemoteConnection(
    713:  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
    714:  =========================== short test summary info ===========================
    715:  FAILED tests/drivers/test_options.py::test_set_browser_version - selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
    716:  ===== 1 failed, 124 passed, 6 skipped, 120 warnings in 1078.17s (0:17:58) =====
    717:  ##[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.

    @harsha509 harsha509 merged commit ce00170 into trunk Oct 30, 2024
    6 of 12 checks passed
    @harsha509 harsha509 deleted the renovate/selenium-4.x branch October 30, 2024 17:26
    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