Behat testing and Drupal
1.) https://behat-drupal-extension.readthedocs.org/en/3.0/globalinstall.html
2.) in the sites/default/behat-tests folder you'll need to create run the command: behat -dl to see available out of the box commands
3.) Run behat --init in the behat-tests folder
4.) More documentation is here
5.) In the sites/default/behat-tests folder make a behat.yml file: