Hi Laura, there are two ways (at least you can do this... one is preferable to the other.
- run your localhost command in one terminal and open a second tab or window to run behat.
- run your localhost command in the background (append & at the end of the command.) the problem with that is you have to remember the process id so you can kill the process later...
Another method that I have started using is laravel valet valet allows you to simply configure a base directory which then servers as your hosting platform... (not saying that correctly... for example I have valet pointing to my ~/repos directory in repos I have a folder called laravel-test (for example) all I have to do is go to my browser and enter the url laravel-test.dev and the page loads. Using this with behat I have to change the base url to match etc... hopefully this helps