FriendsOfBehat / SymfonyExtension

:musical_score: Extension integrating Behat with Symfony.
MIT License
472 stars 62 forks source link

Attempted to load class "BrowserKitDriver" from namespace "Behat\Mink\Driver". #109

Closed piotrbrzezina closed 4 years ago

piotrbrzezina commented 4 years ago

Hi when I install this extension I got this error

[Symfony\Component\ErrorHandler\Error\ClassNotFoundError]                       
  Attempted to load class "BrowserKitDriver" from namespace "Behat\Mink\Driver".  
  Did you forget a "use" statement for another namespace?  

to solve this problem I need to instal explicitly this library composer req friends-of-behat/mink-browserkit-driver --dev

maybe we should move this dependency to require section I composer.json. Then this step will be not required anymore?

pamil commented 4 years ago

What's the exact configuration of SymfonyExtension and MinkExtension that caused this error?