I've just installed at local a Jenkins server in order to execute some tests using Selenium Webdriver.
When I execute the tests, the initial steps are executing well (maven calls, access to repo,...) but when the first selenium step have to be executed, I get this error:
(java.lang.InternalError: Can't connect to window server - not enough permissions.)
What permissions are refered?
I'm executing from my main user in my computer in a MacOSX. I've looked information in jenkins site and google, but I can get anything.
Add JVM options -Djava.awt.headless=true
On the instance I use, the "JVM Options" field is only visible from the "Advanced..." button under the Launch Method sub-heading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With