Hello. I faced some strange bugs during tests in Selenium running in Docker. I tried to enable debug logging in containers, but they doesn't start normally after I changed
docker-compose-v3.yml. Here's part of my yaml:
services:
chrome:
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
Then I added string SE_OPTS="--log-level FINE" to environment section in compose.yml as said in docs But after start chrome container is failing with error: Was passed main parameter '"--log-level' but no main parameter was defined in your arg class
I tried different combination of parameters, but non of them worked. Only when I changed it to SE_NODE_OPTS="--log-level FINE" container started successfully.
But there are no DEBUG messages in the log output, only INFO level. What should I do to get DEBUG messages?
And is there a way to enable it for selenium hub container?