@java.lang.annotation.Target(value: ElementType.TYPE) @java.lang.annotation.Retention(value: RetentionPolicy.RUNTIME) @interface ContainerGebConfiguration
Can be used to configure the protocol and hostname that the container's browser will use
Type | Name and Description |
---|---|
static java.lang.Class<? extends ContainerFileDetector> |
DEFAULT_FILE_DETECTOR |
static java.lang.String |
DEFAULT_HOSTNAME_FROM_CONTAINER |
static java.lang.String |
DEFAULT_PROTOCOL |
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.lang.Class<? extends ContainerFileDetector> |
fileDetector() The org.openqa.selenium.remote.FileDetector implementation to use for this class. |
|
abstract java.lang.String |
hostName() The hostname that the container's browser will use to access the server under test. |
|
abstract java.lang.String |
protocol() The protocol that the container's browser will use to access the server under test. |
|
abstract boolean |
reporting() Whether reporting should be enabled for this test. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The org.openqa.selenium.remote.FileDetector implementation to use for this class.
NullContainerFileDetector results in the last set instance being used.
The hostname that the container's browser will use to access the server under test.
Defaults to host.testcontainers.internal
.
This is useful when the server under test needs to be accessed with a certain hostname.
The protocol that the container's browser will use to access the server under test.
Defaults to http
.
Whether reporting should be enabled for this test. Add a `GebConfig.groovy` to customize the reporter configuration.