Skip to content

Env variable to disable specific browser in generate_config of Node/Standalone all-browsers #3031

@VietND96

Description

@VietND96

Discussed in #3027

Originally posted by parholmdahl November 12, 2025
I see that @VietND96 (?) now have changed the "generate_config" script, to look for installed browsers inside the image. I have a "home made" image that have both chrome, edge and firefox installed.

What if in one node i only want Chrome and Edge to be "active".. Then i guess i set an ENV variable with "SE_NODE_STEREOTYPE".. But how to format that, to be able to use two browsers?

I have used a modified version of the script before, that takes multiple JSON for input as ENV, and iterates over that if there are more than one value:

value: "[{\"browserName\": \"chrome\"}, {\"browserName\": \"MicrosoftEdge\"}]"

But for ease of use i would rather like to have the vanilla script working for my usecase, but maybe that is not the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions