Problem/Motivation
Splitting from #3055180: [META] Resolve Symfony 4 deprecations (Symfony 5 compatibility).
MinkBrowserKitDriver does not yet support Symfony 5, and the PRs have been relatively inactive/unreviewed for over a year.
Issue: https://github.com/minkphp/MinkBrowserKitDriver/issues/139
PR 1: https://github.com/minkphp/MinkBrowserKitDriver/pull/151
PR 2: https://github.com/minkphp/MinkBrowserKitDriver/pull/142
We still have several months before we'll have the Drupal 10 branch opened, so this isn't an urgent issue yet, but it may become urgent as we approach the autumn.
There is a fork, published to packagist, which has PHP 8 compatibility and Symfony 5 support, it may be worth switching to that until the official branch is compatible, at least for patch testing, but possibly during Drupal 10's development if the PRs still haven't been merged.
https://packagist.org/packages/friends-of-behat/mink-browserkit-driver
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Drupal has replaced the behat/mink-browserkit-driver
dependency with friends-of-behat/mink-browserkit-driver
for PHP 8 and Symfony 5 compatibility.