`Drupal\DrupalExtension` extension file or class could not be located I got this error upon launching behat tests:


  [Behat\Testwork\ServiceContainer\Exception\ExtensionInitializationException]
  Drupal\DrupalExtension extension file or class could not be located.


Does any additional module is required?
Found https://www.drupal.org/project/behat but for d7
The Drupal Extension requires no modules, only composer installation.
Execute:
composer require drupal/drupal-extension='~3.0'
See the docs for other setup information: https://github.com/jhedstrom/drupalextension/blob/master/README.md
Update
to install the latest version just use
composer require drupal/drupal-extension

[version 3 is kind of outdated and in this time latest version is 4.1]