selenium runs in headless mode if a slave connected via SSH.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

selenium runs in headless mode if a slave connected via SSH.

satish singh
Hi Team,

We are running Jenkins on kubernetes and have to add windows node/agent via ssh.
When we run selenium automation on the windows agents it runs fine but in the background as a headless service, We need to see the browser which does not open up during the build.

We are stuck with this issue, requesting for any pointer on how we can run selenium automation on windows ssh node to run in foreground not as headless service.


Thanks in advance.

Regards,
Satish

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAzuHYvLU%2BC2J%3DXGSuAWJz4hOExW55JVAj2cFgLuf-iQxpY5yQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: selenium runs in headless mode if a slave connected via SSH.

Jérôme Godbout

Check the user which run the Jenkins service on the nodes, make sure that user has the GUI capability. Make a user account log into it, put the Jenkins into that user account. By default, Windows service cannot create any Windows or GUI based window (used to be possible, but they retract this in Vista if I remember well).

 

Jérôme Godbout, B. Ing.


Software / Firmware Team Lead
O: (418) 682-3636 ext.: 114  

C: (581) 777-0050 
[hidden email]

signature_469259410

dimonoff.com

1015 Avenue Wilfrid-Pelletier, 

Québec, QC G1W 0C4, 4e étage

 

 

From: [hidden email] <[hidden email]> on behalf of satish singh <[hidden email]>
Date: Thursday, April 1, 2021 at 9:47 AM
To: [hidden email] <[hidden email]>
Subject: selenium runs in headless mode if a slave connected via SSH.

Hi Team,

 

We are running Jenkins on kubernetes and have to add windows node/agent via ssh.

When we run selenium automation on the windows agents it runs fine but in the background as a headless service, We need to see the browser which does not open up during the build.

 

We are stuck with this issue, requesting for any pointer on how we can run selenium automation on windows ssh node to run in foreground not as headless service.

 

 

Thanks in advance.

 

Regards,

Satish

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAzuHYvLU%2BC2J%3DXGSuAWJz4hOExW55JVAj2cFgLuf-iQxpY5yQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/QB1PR01MB3844A871AFB684126AC7ACF9CD7B9%40QB1PR01MB3844.CANPRD01.PROD.OUTLOOK.COM.