Seeing the Tests Run
Learn to run the VCN Server and how Headless browsing works.
We'll cover the following
Running VNC server
The selenium/standalone-chrome-debug
image includes a running VNC server. This allows us to connect and actually view tests as they run in the browser. In order to see the desktop of our container, we will need a VNC client to connect with. Our platform presently doesn’t support one, but if you were running the Docker environment on your own machine (with a VNC client installed), you could start a VNC client by typing vnc://localhost:5900 in your web browser. This will open a VNC client window. Use secret
as the password when prompted. When you run docker-compose exec web rspec spec/system/
, you will see the Chromium web browser window flash open and then close very quickly.
Get hands-on with 1400+ tech skills courses.