Class "Behat\Mink\Mink" not found
I installed everything properly. When I try to launch the "Usage Example," I get the error message "Class "Behat\Mink\Mink" not found."
I tried installing in many different ways and nothing worked. How to install?
Please specify the steps you've performed for Mink installing and the code you're using to run Mink.
Also, have you been able to perform the Composer Install step?
- I installed with composer:
composer require behat/mink - I ran the usage example code
Have you included the Composer autoload.php file ? https://getcomposer.org/doc/01-basic-usage.md#autoloading
Yes, of course. Before the usage example code, I wrote the line include_once("path_to_mink_folder/vendor/autoload.php");
Had the same problem. Unfortunately, Mink comes WITHOUT a default driver installed. Annoying, but easy to fix.