Try to search your question here, if you can't find : Ask Any Question Now ?

How to view virtual machine screen while browser based selenium testing is happening?

HomeCategory: stackoverflowHow to view virtual machine screen while browser based selenium testing is happening?
gaurav asked 3 weeks ago

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.

1 Answers
Best Answer
Mikhail answered 3 weeks ago
Your Answer

9 + 15 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com