Home > other >  How to check test isssues on selenium server
How to check test isssues on selenium server

Time:10-26

I deployed selenium grid and runned tests on it. My tests failed but if I run them locally they completed successfully. How can see image during running tests on selenium grid node?

CodePudding user response:

If you are using official Selenium docker images in your grid, you can connect to your node with any VNC viewer using port 5900 (if not changed in configuration) and password secret.

You can also try to set up video recording of your scenario. But the former approach is simpler.

CodePudding user response:

In VMs, Screen size will be small, please run your test with (1040, 740) VM screensize in your local. i hope you can identify your issue locally.

ChromeOptions options = new ChromeOptions();
options.addArguments("--no-sandbox");
options.addArguments("--disable-gpu");
options.addArguments("--window-size=1040,784");   // vm size : --window-size=1040,784
driver = new ChromeDriver(options);
  • Related