Skip to content

chore(deps): update dependency selenium to v4.32.0 #2293

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

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
selenium ==4.31.0 -> ==4.32.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 May 2, 2025

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 32fe57e
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/681a29ba333046000869168e
😎 Deploy Preview https://deploy-preview-2293--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 2, 2025

CI Feedback 🧐

(Feedback updated until commit 32fe57e)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: tests (windows, stable, 3.9)

Failed stage: Run tests [❌]

Failed test name: test_set_context

Failure summary:

The action failed because the test test_set_context in tests/browsers/test_firefox.py consistently
failed after 3 attempts. The test is trying to switch the Firefox driver context to chrome scope
using driver.context(driver.CONTEXT_CHROME), but this operation requires system access that isn't
enabled.

The specific error is: "System access is required to switch to chrome scope. Start Firefox with
'-remote-allow-system-access' to enable it."

The test needs to be modified to either:
1. Launch Firefox with the -remote-allow-system-access flag

2. Skip this test in the CI environment

Relevant error logs:
1:  ##[group]Operating System
2:  Microsoft Windows Server 2022
...

324:  Version: 11.0.27+6
325:  Path: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64
326:  ##[endgroup]
327:  Creating settings.xml with server-id: github
328:  Writing to C:\Users\runneradmin\.m2\settings.xml
329:  ##[group]Run nick-invision/[email protected]
330:  with:
331:  timeout_minutes: 60
332:  max_attempts: 3
333:  command: cd examples/python
334:  pytest --reruns 3
335:  
336:  retry_wait_seconds: 10
337:  polling_interval_seconds: 1
338:  warning_on_retry: true
339:  continue_on_error: false
340:  env:
...

375:  tests\drivers\test_remote_webdriver.py sss                               [ 69%]
376:  tests\drivers\test_service.py ...                                        [ 71%]
377:  tests\elements\test_file_upload.py .                                     [ 72%]
378:  tests\elements\test_information.py .                                     [ 72%]
379:  tests\elements\test_interaction.py .                                     [ 73%]
380:  tests\elements\test_locators.py ........                                 [ 77%]
381:  tests\interactions\test_alerts.py ...                                    [ 79%]
382:  tests\interactions\test_cookies.py ......                                [ 83%]
383:  tests\interactions\test_print_options.py .......                         [ 87%]
384:  tests\interactions\test_prints_page.py .                                 [ 88%]
385:  tests\interactions\test_virtual_authenticator.py ..........              [ 94%]
386:  tests\support\test_expected_conditions.py .                              [ 94%]
387:  tests\support\test_select_list.py ...                                    [ 96%]
388:  tests\troubleshooting\test_logging.py .                                  [ 97%]
389:  tests\waits\test_waits.py .....                                          [100%]
390:  ================================== FAILURES ===================================
391:  ______________________________ test_set_context _______________________________
392:  firefox_driver = <selenium.webdriver.firefox.webdriver.WebDriver (session="dec6b0f1-7a56-4c43-9ffe-ad8a96d4f495")>
393:  def test_set_context(firefox_driver):
394:  driver = firefox_driver
395:  >       with driver.context(driver.CONTEXT_CHROME):
396:  tests\browsers\test_firefox.py:149: 
397:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
398:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\contextlib.py:119: in __enter__
399:  return next(self.gen)
400:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:107: in context
401:  self.set_context(context)
402:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:89: in set_context
403:  self.execute("SET_CONTEXT", {"context": context})
404:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py:448: in execute
405:  self.error_handler.check_response(response)
406:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
407:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x00000228DB87C910>
408:  response = {'status': 500, 'value': '{"value":{"error":"unsupported operation","message":"System access is required to switch to ...ionette/server.sys.mjs:263:9\\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\\n"}}'}
409:  def check_response(self, response: Dict[str, Any]) -> None:
410:  """Checks that a JSON response from the WebDriver does not have an
411:  error.
412:  :Args:
413:  - response - The JSON response from the WebDriver server as a dictionary
414:  object.
415:  :Raises: If the response contains an error message.
416:  """
417:  status = response.get("status", None)
418:  if not status or status == ErrorCode.SUCCESS:
419:  return
420:  value = None
421:  message = response.get("message", "")
422:  screen: str = response.get("screen", "")
423:  stacktrace = None
424:  if isinstance(status, int):
425:  value_json = response.get("value", None)
426:  if value_json and isinstance(value_json, str):
427:  import json
428:  try:
429:  value = json.loads(value_json)
430:  if len(value) == 1:
431:  value = value["value"]
432:  status = value.get("error", None)
433:  if not status:
434:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
435:  message = value.get("value") or value.get("message")
436:  if not isinstance(message, str):
437:  value = message
438:  message = message.get("message")
439:  else:
440:  message = value.get("message", None)
441:  except ValueError:
442:  pass
443:  exception_class: Type[WebDriverException]
444:  e = ErrorCode()
445:  error_codes = [item for item in dir(e) if not item.startswith("__")]
446:  for error_code in error_codes:
447:  error_info = getattr(ErrorCode, error_code)
448:  if isinstance(error_info, list) and status in error_info:
449:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
450:  break
...

466:  stacktrace = st_value.split("\n")
467:  else:
468:  stacktrace = []
469:  try:
470:  for frame in st_value:
471:  line = frame.get("lineNumber", "")
472:  file = frame.get("fileName", "<anonymous>")
473:  if line:
474:  file = f"{file}:{line}"
475:  meth = frame.get("methodName", "<anonymous>")
476:  if "className" in frame:
477:  meth = f"{frame['className']}.{meth}"
478:  msg = "    at %s (%s)"
479:  msg = msg % (meth, file)
480:  stacktrace.append(msg)
481:  except TypeError:
482:  pass
483:  if exception_class == UnexpectedAlertPresentException:
484:  alert_text = None
485:  if "data" in value:
486:  alert_text = value["data"].get("text")
487:  elif "alert" in value:
488:  alert_text = value["alert"].get("text")
489:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
490:  >       raise exception_class(message, screen, stacktrace)
491:  E       selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
492:  E       Stacktrace:
493:  E       RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
494:  E       WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
495:  E       UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
496:  E       set@chrome://remote/content/marionette/driver.sys.mjs:338:13
497:  E       GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
498:  E       despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
499:  E       execute@chrome://remote/content/marionette/server.sys.mjs:289:16
500:  E       onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
501:  E       onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
502:  E       _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
503:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\errorhandler.py:232: WebDriverException
504:  =========================== short test summary info ===========================
505:  FAILED tests/browsers/test_firefox.py::test_set_context - selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
506:  Stacktrace:
507:  RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
508:  WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
509:  UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
510:  set@chrome://remote/content/marionette/driver.sys.mjs:338:13
511:  GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
512:  despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
513:  execute@chrome://remote/content/marionette/server.sys.mjs:289:16
514:  onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
515:  onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
516:  _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
517:  ======= 1 failed, 156 passed, 11 skipped, 3 rerun in 966.70s (0:16:06) ========
518:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
519:  ##[endgroup]
...

543:  tests\drivers\test_remote_webdriver.py sss                               [ 69%]
544:  tests\drivers\test_service.py ...                                        [ 71%]
545:  tests\elements\test_file_upload.py .                                     [ 72%]
546:  tests\elements\test_information.py .                                     [ 72%]
547:  tests\elements\test_interaction.py .                                     [ 73%]
548:  tests\elements\test_locators.py ........                                 [ 77%]
549:  tests\interactions\test_alerts.py ...                                    [ 79%]
550:  tests\interactions\test_cookies.py ......                                [ 83%]
551:  tests\interactions\test_print_options.py .......                         [ 87%]
552:  tests\interactions\test_prints_page.py .                                 [ 88%]
553:  tests\interactions\test_virtual_authenticator.py ..........              [ 94%]
554:  tests\support\test_expected_conditions.py .                              [ 94%]
555:  tests\support\test_select_list.py ...                                    [ 96%]
556:  tests\troubleshooting\test_logging.py .                                  [ 97%]
557:  tests\waits\test_waits.py .....                                          [100%]
558:  ================================== FAILURES ===================================
559:  ______________________________ test_set_context _______________________________
560:  firefox_driver = <selenium.webdriver.firefox.webdriver.WebDriver (session="5af4dbd2-53e7-4f8f-a1f2-733f48f35d1f")>
561:  def test_set_context(firefox_driver):
562:  driver = firefox_driver
563:  >       with driver.context(driver.CONTEXT_CHROME):
564:  tests\browsers\test_firefox.py:149: 
565:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
566:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\contextlib.py:119: in __enter__
567:  return next(self.gen)
568:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:107: in context
569:  self.set_context(context)
570:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:89: in set_context
571:  self.execute("SET_CONTEXT", {"context": context})
572:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py:448: in execute
573:  self.error_handler.check_response(response)
574:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
575:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x00000241B593DE20>
576:  response = {'status': 500, 'value': '{"value":{"error":"unsupported operation","message":"System access is required to switch to ...ionette/server.sys.mjs:263:9\\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\\n"}}'}
577:  def check_response(self, response: Dict[str, Any]) -> None:
578:  """Checks that a JSON response from the WebDriver does not have an
579:  error.
580:  :Args:
581:  - response - The JSON response from the WebDriver server as a dictionary
582:  object.
583:  :Raises: If the response contains an error message.
584:  """
585:  status = response.get("status", None)
586:  if not status or status == ErrorCode.SUCCESS:
587:  return
588:  value = None
589:  message = response.get("message", "")
590:  screen: str = response.get("screen", "")
591:  stacktrace = None
592:  if isinstance(status, int):
593:  value_json = response.get("value", None)
594:  if value_json and isinstance(value_json, str):
595:  import json
596:  try:
597:  value = json.loads(value_json)
598:  if len(value) == 1:
599:  value = value["value"]
600:  status = value.get("error", None)
601:  if not status:
602:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
603:  message = value.get("value") or value.get("message")
604:  if not isinstance(message, str):
605:  value = message
606:  message = message.get("message")
607:  else:
608:  message = value.get("message", None)
609:  except ValueError:
610:  pass
611:  exception_class: Type[WebDriverException]
612:  e = ErrorCode()
613:  error_codes = [item for item in dir(e) if not item.startswith("__")]
614:  for error_code in error_codes:
615:  error_info = getattr(ErrorCode, error_code)
616:  if isinstance(error_info, list) and status in error_info:
617:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
618:  break
...

634:  stacktrace = st_value.split("\n")
635:  else:
636:  stacktrace = []
637:  try:
638:  for frame in st_value:
639:  line = frame.get("lineNumber", "")
640:  file = frame.get("fileName", "<anonymous>")
641:  if line:
642:  file = f"{file}:{line}"
643:  meth = frame.get("methodName", "<anonymous>")
644:  if "className" in frame:
645:  meth = f"{frame['className']}.{meth}"
646:  msg = "    at %s (%s)"
647:  msg = msg % (meth, file)
648:  stacktrace.append(msg)
649:  except TypeError:
650:  pass
651:  if exception_class == UnexpectedAlertPresentException:
652:  alert_text = None
653:  if "data" in value:
654:  alert_text = value["data"].get("text")
655:  elif "alert" in value:
656:  alert_text = value["alert"].get("text")
657:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
658:  >       raise exception_class(message, screen, stacktrace)
659:  E       selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
660:  E       Stacktrace:
661:  E       RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
662:  E       WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
663:  E       UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
664:  E       set@chrome://remote/content/marionette/driver.sys.mjs:338:13
665:  E       GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
666:  E       despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
667:  E       execute@chrome://remote/content/marionette/server.sys.mjs:289:16
668:  E       onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
669:  E       onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
670:  E       _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
671:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\errorhandler.py:232: WebDriverException
672:  =========================== short test summary info ===========================
673:  FAILED tests/browsers/test_firefox.py::test_set_context - selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
674:  Stacktrace:
675:  RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
676:  WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
677:  UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
678:  set@chrome://remote/content/marionette/driver.sys.mjs:338:13
679:  GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
680:  despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
681:  execute@chrome://remote/content/marionette/server.sys.mjs:289:16
682:  onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
683:  onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
684:  _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
685:  ======= 1 failed, 156 passed, 11 skipped, 3 rerun in 781.61s (0:13:01) ========
686:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
687:  ##[endgroup]
...

711:  tests\drivers\test_remote_webdriver.py sss                               [ 69%]
712:  tests\drivers\test_service.py ...                                        [ 71%]
713:  tests\elements\test_file_upload.py .                                     [ 72%]
714:  tests\elements\test_information.py .                                     [ 72%]
715:  tests\elements\test_interaction.py .                                     [ 73%]
716:  tests\elements\test_locators.py ........                                 [ 77%]
717:  tests\interactions\test_alerts.py ...                                    [ 79%]
718:  tests\interactions\test_cookies.py ......                                [ 83%]
719:  tests\interactions\test_print_options.py .......                         [ 87%]
720:  tests\interactions\test_prints_page.py .                                 [ 88%]
721:  tests\interactions\test_virtual_authenticator.py ..........              [ 94%]
722:  tests\support\test_expected_conditions.py .                              [ 94%]
723:  tests\support\test_select_list.py ...                                    [ 96%]
724:  tests\troubleshooting\test_logging.py .                                  [ 97%]
725:  tests\waits\test_waits.py .....                                          [100%]
726:  ================================== FAILURES ===================================
727:  ______________________________ test_set_context _______________________________
728:  firefox_driver = <selenium.webdriver.firefox.webdriver.WebDriver (session="ee169352-82e8-465d-b2c7-17226799f3c9")>
729:  def test_set_context(firefox_driver):
730:  driver = firefox_driver
731:  >       with driver.context(driver.CONTEXT_CHROME):
732:  tests\browsers\test_firefox.py:149: 
733:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
734:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\contextlib.py:119: in __enter__
735:  return next(self.gen)
736:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:107: in context
737:  self.set_context(context)
738:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\firefox\webdriver.py:89: in set_context
739:  self.execute("SET_CONTEXT", {"context": context})
740:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\webdriver.py:448: in execute
741:  self.error_handler.check_response(response)
742:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
743:  self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x000001E073057400>
744:  response = {'status': 500, 'value': '{"value":{"error":"unsupported operation","message":"System access is required to switch to ...ionette/server.sys.mjs:263:9\\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\\n"}}'}
745:  def check_response(self, response: Dict[str, Any]) -> None:
746:  """Checks that a JSON response from the WebDriver does not have an
747:  error.
748:  :Args:
749:  - response - The JSON response from the WebDriver server as a dictionary
750:  object.
751:  :Raises: If the response contains an error message.
752:  """
753:  status = response.get("status", None)
754:  if not status or status == ErrorCode.SUCCESS:
755:  return
756:  value = None
757:  message = response.get("message", "")
758:  screen: str = response.get("screen", "")
759:  stacktrace = None
760:  if isinstance(status, int):
761:  value_json = response.get("value", None)
762:  if value_json and isinstance(value_json, str):
763:  import json
764:  try:
765:  value = json.loads(value_json)
766:  if len(value) == 1:
767:  value = value["value"]
768:  status = value.get("error", None)
769:  if not status:
770:  status = value.get("status", ErrorCode.UNKNOWN_ERROR)
771:  message = value.get("value") or value.get("message")
772:  if not isinstance(message, str):
773:  value = message
774:  message = message.get("message")
775:  else:
776:  message = value.get("message", None)
777:  except ValueError:
778:  pass
779:  exception_class: Type[WebDriverException]
780:  e = ErrorCode()
781:  error_codes = [item for item in dir(e) if not item.startswith("__")]
782:  for error_code in error_codes:
783:  error_info = getattr(ErrorCode, error_code)
784:  if isinstance(error_info, list) and status in error_info:
785:  exception_class = getattr(ExceptionMapping, error_code, WebDriverException)
786:  break
...

802:  stacktrace = st_value.split("\n")
803:  else:
804:  stacktrace = []
805:  try:
806:  for frame in st_value:
807:  line = frame.get("lineNumber", "")
808:  file = frame.get("fileName", "<anonymous>")
809:  if line:
810:  file = f"{file}:{line}"
811:  meth = frame.get("methodName", "<anonymous>")
812:  if "className" in frame:
813:  meth = f"{frame['className']}.{meth}"
814:  msg = "    at %s (%s)"
815:  msg = msg % (meth, file)
816:  stacktrace.append(msg)
817:  except TypeError:
818:  pass
819:  if exception_class == UnexpectedAlertPresentException:
820:  alert_text = None
821:  if "data" in value:
822:  alert_text = value["data"].get("text")
823:  elif "alert" in value:
824:  alert_text = value["alert"].get("text")
825:  raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
826:  >       raise exception_class(message, screen, stacktrace)
827:  E       selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
828:  E       Stacktrace:
829:  E       RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
830:  E       WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
831:  E       UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
832:  E       set@chrome://remote/content/marionette/driver.sys.mjs:338:13
833:  E       GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
834:  E       despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
835:  E       execute@chrome://remote/content/marionette/server.sys.mjs:289:16
836:  E       onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
837:  E       onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
838:  E       _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
839:  C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\selenium\webdriver\remote\errorhandler.py:232: WebDriverException
840:  =========================== short test summary info ===========================
841:  FAILED tests/browsers/test_firefox.py::test_set_context - selenium.common.exceptions.WebDriverException: Message: System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
842:  Stacktrace:
843:  RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
844:  WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
845:  UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
846:  set@chrome://remote/content/marionette/driver.sys.mjs:338:13
847:  GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
848:  despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
849:  execute@chrome://remote/content/marionette/server.sys.mjs:289:16
850:  onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
851:  onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
852:  _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
853:  ======= 1 failed, 156 passed, 11 skipped, 3 rerun in 785.52s (0:13:05) ========
854:  ##[endgroup]
855:  ##[error]Final attempt failed. Child_process exited with error code 1
856:  Post job cleanup.

@renovate renovate bot changed the title Update dependency selenium to v4.32.0 chore(deps): update dependency selenium to v4.32.0 May 5, 2025
Copy link
Contributor Author

renovate bot commented May 6, 2025

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.

⚠️ Warning: custom changes will be lost.

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