Headless Selenium

Discuss other useful utilities, general computing tips & tricks, Internet resources, etc.
BoBo
Posts: 2515
Joined: 13 May 2014, 17:15

Headless Selenium

14 Dec 2017, 02:22

Headless Selenium for Windows

It is quite inconvenient that a browser window pops up when running Selenium tests. It might cause tests to fail because such window needs to hold user input focus. That is the case with IE at least.

In Linux world, this is solved by running browsers in a virtual frame-buffer. Similar approach can be taken on Windows platform as well.

Contrary to popular believe, Windows is fully multi-user OS. On top of that, it supports virtual desktops even though it is not very often used compared to Linux desktop environments.

This application uses virtual desktops to run web browsers in so that they do not disturb the main user desktop.

It can be used by any language supported by Selenium Webdriver (Java, C#, Ruby, ...).

[More..]
8-)

Return to “Other Utilities & Resources”

Who is online

Users browsing this forum: No registered users and 4 guests