Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Selenium

TCI for Selenium.

Features

  • All improvements from xdev-software/testcontainers-selenium
  • Predefined browsers (Firefox, Chromium)
  • NoVNC support
  • Full scale support for recording videos
  • Browser Logs can be enabled if required

Config

The configuration is dynamically loaded from (sorted by highest priority)
  • Environment variables
    • prefixed with TCI_SELENIUM_
    • all properties are in UPPERCASE and use _ instead of . or -
  • System properties
    • prefixed with tci.selenium.
Full list of configuration options
Property Type Default Notes
record-mode Enum RECORD_FAILING Recording mode.
Available:
  • SKIP - Do not record any videos
  • RECORD_ALL - Record all tests
  • RECORD_FAILING - Record failing tests only
dir-for-records String target/records Directory for storing the recorded videos
vnc-enabled bool false Enable VNC and NoVNC. This is usually only needed during debugging.
bidi-enabled bool true Use Selenium BiDirectional functionality instead of legacy Chrome DevTools Protocol (CDP).
Disabling this will make certain operations unavailable e.g. listening for browser logs.
deactivate-cdp-if-possible bool true Disable Chrome DevTools Protocol (CDP) if possible.
CDP requires additional maven dependencies (e.g. selenium-devtools-v137) that are not present by default and will result in a warning.
min-browser-console-log-level Enum ERROR Prints out browser console logs. Configures the MINIMUM log level.
Available options:
  • OFF
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • ALL