Answer the question
In order to leave comments, you need to log in
Is it possible to run Selenium and Mysql on the host machine and everything else on homestead (vagrant)?
host Windows machine, guest VirtualBox homestead (linux)
I need the base to be on the home OS and for unit tests it is just necessary to run Selenium and I think it's not bad to run it at home. machine because there is no shell graph on guest. I think it's possible to access Mysql and Selenium socket ports from the guest OS.
Answer the question
In order to leave comments, you need to log in
Yes, of course, you can run selenium on the host machine if you have it installed there with java. It is not related to laravel in any way.
To get access to the database, you need to fix the muscle configs, there is a parameter like bind ***, by default it only allows on from the localhost. And set up port forwarding for the virtual machine (maybe homestead already has it)
A couple more notes:
Selenium is not unit tests in any way
You can use the built-in tools for testing https://laravel.com/docs/5.1/testing#application-t... There is a plug-in similar to the Selenium one, which allows you to click on the script directly in the browser.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question