public class SeleniumGridNodeContainer extends org.testcontainers.containers.GenericContainer<SeleniumGridNodeContainer> implements org.testcontainers.containers.traits.LinkableContainer
similar TestContainers' class
.
Does not provide a web driver itself, but rather starts a Selenium node and attaches it to a configured hub.Constructor and Description |
---|
SeleniumGridNodeContainer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected void |
finished(org.junit.runner.Description description) |
String |
getImageForSelectedBrowser() |
protected Integer |
getLivenessCheckPort() |
SeleniumGridNodeContainer |
withDebugMode(boolean isDebugModeOn) |
SeleniumGridNodeContainer |
withSeleniumHubHost(String seleniumHubHost) |
SeleniumGridNodeContainer |
withSeleniumHubPort(int seleniumHubPort) |
SeleniumGridNodeContainer |
withTargetBrowser(String targetBrowser) |
SeleniumGridNodeContainer |
withTestNetwork(String testNetwork) |
SeleniumGridNodeContainer |
withUploadDirectory(String uploadDirectory) |
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canEqual, containerIsStarted, containerIsStarting, copyFileFromContainer, copyFileToContainer, createVolumeDirectory, doStart, equals, execInContainer, execInContainer, failed, fetchDockerDaemonInfo, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isPrivilegedMode, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setStartupAttempts, setStartupCheckStrategy, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectory
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContainerName
addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBind
protected Integer getLivenessCheckPort()
getLivenessCheckPort
in class org.testcontainers.containers.GenericContainer<SeleniumGridNodeContainer>
public SeleniumGridNodeContainer withDebugMode(boolean isDebugModeOn)
public SeleniumGridNodeContainer withTargetBrowser(String targetBrowser)
public SeleniumGridNodeContainer withSeleniumHubHost(String seleniumHubHost)
public SeleniumGridNodeContainer withSeleniumHubPort(int seleniumHubPort)
public SeleniumGridNodeContainer withUploadDirectory(String uploadDirectory)
public SeleniumGridNodeContainer withTestNetwork(String testNetwork)
protected void configure()
configure
in class org.testcontainers.containers.GenericContainer<SeleniumGridNodeContainer>
public String getImageForSelectedBrowser()
protected void finished(org.junit.runner.Description description)
finished
in class org.testcontainers.containers.GenericContainer<SeleniumGridNodeContainer>
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.