public final class SeleniumProcessUtils extends Object
Modifier and Type | Method and Description |
---|---|
static hudson.remoting.Channel |
createSeleniumGridVM(hudson.model.TaskListener listener)
Launches Hub in a separate JVM.
|
static hudson.remoting.Channel |
createSeleniumRCVM(File standaloneServerJar,
File htmlUnitDriverJar,
hudson.model.TaskListener listener,
Map<String,String> properties,
Map<String,String> envVariables)
Launches RC in a separate JVM.
|
static File |
findHtmlUnitDriverJar()
Locate the htmlunit driver jar from the classpath.
|
static File |
findStandAloneServerJar()
Locate the stand-alone server jar from the classpath.
|
public static File findStandAloneServerJar() throws IOException
IOException
public static File findHtmlUnitDriverJar() throws IOException
IOException
public static hudson.remoting.Channel createSeleniumGridVM(hudson.model.TaskListener listener) throws IOException
IOException
public static hudson.remoting.Channel createSeleniumRCVM(File standaloneServerJar, File htmlUnitDriverJar, hudson.model.TaskListener listener, Map<String,String> properties, Map<String,String> envVariables) throws IOException, InterruptedException
standaloneServerJar
- The jar file of the grid to launch.IOException
InterruptedException
Copyright © 2016–2019. All rights reserved.