Skip to content

[🐛 Bug]: Node: Disable/Enable VNC view only (or GUI interaction) #2485

@alramostpt

Description

@alramostpt

What happened?

Documentation explain the enable/disable of GUI interactions with the use of the env var as follows:
If you want to run VNC in view-only mode you can set the environment variable SE_VNC_VIEW_ONLY=1.

If you want to run VNC in view-only mode you can set the environment variable `SE_VNC_VIEW_ONLY=1`.

But flag for that settings works as follow:
if [ ! -z $VNC_VIEW_ONLY ];

if [ ! -z $VNC_VIEW_ONLY ]; then

Where this IF operation enables the view only mode when this env contains any value instead of the documented method of setting that value to 1.

This creates an unintended behavior when the value is set to 0 expecting to disable the view only mode.

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

N/A (any)

Relevant log output

N/A

Operating System

Any

Docker Selenium version (image tag)

Any

Selenium Grid chart version (chart version)

Any

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