TCI for Selenium.
- 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
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-
- prefixed with
- System properties
- prefixed with
tci.selenium.
- prefixed with
Full list of configuration options
| Property | Type | Default | Notes |
|---|---|---|---|
record-mode |
Enum |
RECORD_FAILING |
Recording mode. Available:
|
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:
|