Skip to content

[🐛 Bug]: Error when setting selenium options (SE_OPTS) #2181

Closed
@erik-rnbt

Description

@erik-rnbt

What happened?

Docker Selenium Hub is not starting when using selenium options.

I tried upgrading to a newer version of selenium but the hub cant handle the SE_OPTS anymore.

Command used to start Selenium Grid with Docker (or Kubernetes)

docker run -d -p 4442-4444:4442-4444 \
-e "TZ=Europe/Berlin" -e SE_OPTS="--reject-unsupported-caps true" \
--name selenium-hub selenium/hub:latest

Relevant log output

2024-04-03 09:49:39,479 INFO Included extra file "/etc/supervisor/conf.d/selenium-grid-hub.conf" during parsing
2024-04-03 09:49:39,483 INFO RPC interface 'supervisor' initialized
2024-04-03 09:49:39,483 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-04-03 09:49:39,483 INFO supervisord started with pid 8
2024-04-03 09:49:40,487 INFO spawned: 'selenium-grid-hub' with pid 9
Appending Selenium options: --reject-unsupported-caps true
Appending Selenium options: --reject-unsupported-caps false
Tracing is disabled
2024-04-03 09:49:40,493 INFO success: selenium-grid-hub entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
Can only specify option --reject-unsupported-caps once.

Operating System

Linux RHEL 8

Docker Selenium version (image tag)

4.19.1

Selenium Grid chart version (chart version)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions