Reputation: 13
I'm using robotframework with selenium and firefox. I'm running test in a docker. But for debugging purpose I want to see sometimes what's happen on the UI.
So is there a way to get the UI of firefox launch when test are running in docker.
thanks
Upvotes: 1
Views: 97
Reputation: 17553
You can use VNC to see what is actually happening over docker. It's like remote access where you can see everything on docker image
Download VNC viewer :
https://www.realvnc.com/en/connect/download/viewer/
Some tutorial :
Article
OR if you don't want VNC
You can take screenshot if you just want an image on a particular place.
You can also use driver.getPageSource();
to get the HTML code
Upvotes: 4