I was having problems running Selenium tests through Jenkins on Open SUSE 
node. I got it working with [Xvfb plugin][1] by installing, configuring 
plugin on Jenkins server and updating pipeline by wrapping Selenium 
execution code with -

    wrap([$class: 'Xvfb', ....]) { 
      //Selenium execution code goes here
    }

I've Jenkins master on Windows machine and nodes are Linux machines. Is 
there a way with which if I can configure master and nodes so I don't need 
Xvfb plugin?

Please suggest what are alternative ways to achieve what Xvfb is doing.

**NOTE:** 

We've multiple pipelines and if we decide to use this plugin, in every 
pipeline we'll have to make the change. Hence to avoid that looking for an 
alternate way which can help to make change at one place or changes on 
nodes or master. 

Or any other way to make change in framework except following which runs 
tests in headless mode -

    chromeOptions.addArguments("--headless");
  [1]: https://wiki.jenkins.io/display/JENKINS/Xvfb+Plugin

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c8facd02-ddf9-4107-86a8-30c51c527fe9%40googlegroups.com.

Reply via email to