Skip to content

[πŸ› Bug]: Chrome sets opacity values to zero and elements are invisibleΒ #2854

@betelgeuse

Description

@betelgeuse

What happened?

Any other CSS value then opacity gets set to zero meaning the element is invisible. Filing here first since it's very unlikely that this is a general Chrome issue (presumably it would have been spotted by the wider public).

Image Image

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

selenium:
    container_name: selenium_chrome
    image: "selenium/standalone-chrome:latest"
    platform: linux/amd64
    # https://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#--shm-size2g
    shm_size: 2G
    environment:
      SE_NODE_SESSION_TIMEOUT: 1800
      SE_SCREEN_WIDTH: 1920
      SE_SCREEN_HEIGHT: 1080
    ports:
      - "127.0.0.1:7900:7900" # VNC via HTTP
    networks:
      - internal_network

Relevant log output

Nothing interesting in docker logs selenium_chrome. Here are version numbers:

22:18:43.471 INFO [NodeOptions.report] - Adding chrome for {"browserName": "chrome","browserVersion": "136.0","container:hostname": "f18b01a17f9d","goog:chromeOptions": {"binary": "\u002fusr\u002fbin\u002fgoogle-chrome"},"platformName": "linux","se:containerName": "f18b01a17f9d","se:noVncPort": 7900,"se:vncEnabled": true} 1 times
22:18:43.510 INFO [Node.<init>] - Binding additional locator mechanisms: relative
22:18:43.546 INFO [GridModel.setAvailability] - Switching Node 80e716dc-5294-4508-b747-5608b14aa1c4 (uri: http://172.25.0.5:4444) from DOWN to UP
22:18:43.547 INFO [LocalDistributor.add] - Added node 80e716dc-5294-4508-b747-5608b14aa1c4 at http://172.25.0.5:4444. Health check every 120s
22:18:43.708 INFO [Standalone.execute] - Started Selenium Standalone 4.33.0 (revision 2c6aaad03a): http://172.25.0.5:4444

Operating System

OS X 15.5

Docker Selenium version (image tag)

745c10306dcc

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