Selenium for Internet explorer on Jenkins
Mystic last edited by
Recently, my tests started failing. I'm testing on IE11(company policy) on a jenkins windows slave.
My tests all hang on the "This is the initial start page" if I'm not connected to the server.
If I am connected, the tests run as they're supposed to.
I'm using java bindings 3.141.59 on IE WebDriver 3.15.
Selenium is interacting with system's GUI that is responsible for drawing the windows and dispatching user interactions to certain UI elements. When you run your tests having remote desktop window open (or when you logged on the session on your local machine) Selenium can obtain GUI objects since it can see them just like you do.
Once you close or collapse remote desktop window or locks your local machine, GUI is getting terminated so nobody (including Selenium test) can interact with it. You can try to apply solutions which suggested here. They implies some reconfiguration of the system that is hosting your Jenkins slave.