Testcontainers.SeleniumContainer (testcontainers v2.4.0)

Copy Markdown View Source

Work in progress. Not stable for use yet. Not yet documented for this very reason. Can use https://github.com/stuart/elixir-webdriver for client in tests

Summary

Types

t()

@type t() :: %Testcontainers.SeleniumContainer{
  check_image: term(),
  image: term(),
  port1: term(),
  port2: term(),
  reuse: term(),
  wait_timeout: term()
}

Functions

default_image()

new()

with_check_image(config, check_image)

Set the regular expression to check the image validity.

with_image(config, image)

with_port1(config, port1)

with_port2(config, port2)

with_reuse(config, reuse)

Set the reuse flag to reuse the container if it is already running.

with_wait_timeout(config, wait_timeout)