Black screen when shooting a screen with Internet Explorer driver on a Windows build server

I run several automated browser tests with selenium on our build server. There are no problems with screenshots when working with Chrome or Firefox, but when I start the Internet Explorer driver, I just get a black screen.

Virtual machine

Version for selenium: 2.53.0 IEDriver: 2.53.0

OS: Windows Server 2012

Browser: Internet Explorer 11

I did all the necessary configuration in the documentation https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver

I also tried the third option: https://lostechies.com/keithdahlby/2011/08/13/allowing-a-windows-service-to-interact-with-desktop-without-localsystem/

I also enabled service interaction around the world: https://msdn.microsoft.com/en-us/library/windows/desktop/ms683502(v=vs.85).aspx

When I remove access to the build server, I can start the test run manually. It works great. Therefore, there must be a problem with our CI (TeamCity) setting interacting with the build server.

Am I stuck and need help?

+5
source share

All Articles