kybu / headless-selenium-for-win

Running Selenium driven browsers headlessly on Windows.
GNU General Public License v3.0
115 stars 20 forks source link

Does it work on windows 12 ? #6

Open g-g-n opened 9 years ago

g-g-n commented 9 years ago

Trying to use it on Windows 2012 but getting stuck. See that the HeadlessDesktop(verified with desktop_utils -l) starts up when I run my tests.

kybu commented 9 years ago

Which language are you using it from? Could you give me a piece of code where you set it up?

g-g-n commented 9 years ago

My tests are in Java. I used the same compiled binaries available but it did not work. So compiled your code on Win 2012 and used those binaries which worked.

It worked, when I ran my test from the same machine (VM on Azure) in command prompt.

But when I ran the same test automatically (using chef client/agent) it did not work. I was tracking if any HeadlessDesktop is seen in the desktop_utils -l, but none appeared.

kybu commented 9 years ago

What user is that chef running as? Does it run as a windows service?

g-g-n commented 9 years ago

It does not run as windows service. The chef client is run by the user of administrator group.

g-g-n commented 9 years ago

Will I see the logs in some log file for these utilities ?

kybu commented 9 years ago

No log file so far. I can add some. Let me get hold of Win2012 where I can try it out.

clement-igonet commented 7 years ago

Are you sure chef client does not rely on "session 0" ? Sessions are isolated, and do not (really) provide GUI.