I have Ubuntu 18 running on a Virtual machine (Laravel Homestead) that has selenium server running along with chrome web driver. I am running some browser based tests whereby the software controls the browser and runs tests. The tests run fine on the virtual machine however I would like to view the screen on my local macbook pro when testing is happening. I also have xvfb installed.
So I kick-off my selenium server with:
xvfb-run -a java -Dwebdriver.chrome.driver=/usr/bin/chromedriver -jar selenium-server-standalone-3.141.59.jar
The tests work just fine. But how to view them. I saw this : https://www.jesusamieiro.com/using-laravel-dusk-with-vagrant-homestead/
But I have been unable to make it work as nothing happens.