SeleniumContainer

com.dimafeng.testcontainers.SeleniumContainer
See theSeleniumContainer companion object
class SeleniumContainer(desiredCapabilities: Option[DesiredCapabilities], recordingMode: Option[(VncRecordingMode, File)]) extends SingleContainer[BrowserWebDriverContainer[_]], TestLifecycleAware

Attributes

Companion
object
Graph
Supertypes
trait TestLifecycleAware
class SingleContainer[BrowserWebDriverContainer[_]]
trait TestContainerProxy[BrowserWebDriverContainer[_]]
trait Container
trait Stoppable
trait Andable
trait Startable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def afterTest(description: TestDescription, throwable: Option[Throwable]): Unit

Attributes

Definition Classes
TestLifecycleAware
def password: String
def port: Int
def seleniumAddress: URL
def vncAddress: String
def webDriver: RemoteWebDriver

Inherited methods

def beforeTest(description: TestDescription): Unit

Attributes

Inherited from:
TestLifecycleAware
def binds: Seq[Bind]

Attributes

Inherited from:
SingleContainer
def boundPortNumbers: Seq[Int]

Attributes

Inherited from:
SingleContainer
override def close(): Unit

Attributes

Definition Classes
Stoppable -> AutoCloseable
Inherited from:
Stoppable
def command: Seq[String]

Attributes

Inherited from:
SingleContainer
def configure(configProvider: (BrowserWebDriverContainer[_]) => Unit): SingleContainer.this.type

Attributes

Inherited from:
SingleContainer
def containerId: String

Attributes

Inherited from:
SingleContainer
def containerInfo: InspectContainerResponse

Attributes

Inherited from:
SingleContainer
def containerIpAddress: String

Attributes

Inherited from:
SingleContainer
def containerName: String

Attributes

Inherited from:
SingleContainer
def copyFileFromContainer[T](containerPath: String, f: InputStream => T): T

Attributes

Inherited from:
SingleContainer
def copyFileFromContainer(containerPath: String, destinationPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyFileToContainer(transferable: Transferable, containerPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyFileToContainer(mountableFile: MountableFile, containerPath: String): Unit

Attributes

Inherited from:
SingleContainer
def copyToFileContainerPathMap: Map[MountableFile, String]

Attributes

Inherited from:
SingleContainer
def createContainerCmdModifiers: Set[CreateContainerCmdModifier]

Attributes

Inherited from:
SingleContainer
def dockerClient: DockerClient

Attributes

Inherited from:
SingleContainer
def env: Seq[String]

Attributes

Inherited from:
SingleContainer
def envMap: Map[String, String]

Attributes

Inherited from:
SingleContainer
def execInContainer(outputCharset: Charset, commands: String*): ExecResult

Attributes

Inherited from:
SingleContainer
def execInContainer(commands: String*): ExecResult

Attributes

Inherited from:
SingleContainer
def exposedPorts: Seq[Int]

Attributes

Inherited from:
SingleContainer
def extraHosts: Seq[String]

Attributes

Inherited from:
SingleContainer
def firstMappedPort: Int

Attributes

Inherited from:
SingleContainer
def foreach(f: Stoppable => Unit): Unit

Attributes

Inherited from:
Andable
def getDependencies(): Set[Startable]

Attributes

Inherited from:
Startable
def host: String

Attributes

Inherited from:
SingleContainer
def image: Future[String]

Attributes

Inherited from:
SingleContainer
def labels: Map[String, String]

Attributes

Inherited from:
SingleContainer
def livenessCheckPortNumbers: Set[Int]

Attributes

Inherited from:
SingleContainer
def logConsumers: Seq[Consumer[OutputFrame]]

Attributes

Inherited from:
SingleContainer
def logs(outputType: OutputType, outputTypes: OutputType*): String

Attributes

Inherited from:
SingleContainer
def logs: String

Attributes

Inherited from:
SingleContainer
def mappedPort(port: Int): Int

Attributes

Inherited from:
SingleContainer
def network: Network

Attributes

Inherited from:
SingleContainer
def networkAliases: Seq[String]

Attributes

Inherited from:
SingleContainer
def networkMode: String

Attributes

Inherited from:
SingleContainer
def portBindings: Seq[String]

Attributes

Inherited from:
SingleContainer
def privilegedMode: Boolean

Attributes

Inherited from:
SingleContainer
def shmSize: Long

Attributes

Inherited from:
SingleContainer
override def start(): Unit

Attributes

Definition Classes
SingleContainer -> Startable
Inherited from:
SingleContainer
def startupAttempts: Int

Attributes

Inherited from:
SingleContainer
def startupCheckStrategy: StartupCheckStrategy

Attributes

Inherited from:
SingleContainer
override def stop(): Unit

Attributes

Definition Classes
SingleContainer -> Stoppable -> Andable -> Startable
Inherited from:
SingleContainer
def testHostIpAddress: String

Attributes

Inherited from:
SingleContainer
def tmpFsMapping: Map[String, String]

Attributes

Inherited from:
SingleContainer
def underlyingUnsafeContainer: BrowserWebDriverContainer[_]

Attributes

Inherited from:
SingleContainer
def volumesFroms: Seq[VolumesFrom]

Attributes

Inherited from:
SingleContainer
def workingDirectory: String

Attributes

Inherited from:
SingleContainer

Deprecated and Inherited methods

override def failed(e: Throwable)(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
override def finished()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
def linkedContainers: Map[String, LinkableContainer]

Attributes

Deprecated
true
Inherited from:
SingleContainer
override def starting()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy
override def succeeded()(implicit description: Description): Unit

Attributes

Deprecated
true
Definition Classes
TestContainerProxy -> Container
Inherited from:
TestContainerProxy

Concrete fields

override val container: BrowserWebDriverContainer[_]