docker-selenium
docker-selenium copied to clipboard
[🐛 Bug]: Geckodriver logs not sent to standard out
What happened?
I am using Selenium Hub with a Firefox node attached. When I create my FirefoxOptions I am setting the log level to 'Trace':
driverOptions = new FirefoxOptions();
((FirefoxOptions)driverOptions).LogLevel = FirefoxDriverLogLevel.Trace;
I run some code that uses this driver to automate some task in Firefox. I look at the standard output for the docker container that is the Firefox node but the logs are not there for the Geckodriver.
Command used to start Selenium Grid with Docker
version: "3"
services:
firefox:
image: selenium/node-firefox:4.13.0-20230926
container_name: firefox-node
shm_size: 2gb
privileged: true
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_NODE_MAX_SESSIONS=1
ports:
- "6902:5900"
networks:
- selenium_grid_internal
selenium-hub:
image: selenium/hub:4.13.0-20230926
privileged: true
container_name: selenium-hub
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
environment:
- GRID_TIMEOUT=120000
- GRID_BROWSER_TIMEOUT=120000
networks:
- selenium_grid_internal
networks:
selenium_grid_internal:
Relevant log output
N/A
Operating System
Ubuntu 20.04
Docker Selenium version (tag)
4.13.1
@MJB222398, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-* label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer label.
Thank you!