Skip to content

Inconsistent RGB vs RGBA return value #1447

Open
@vmassol

Description

Guys, I'm getting the following in my selenium test:

expected: <rgb(255, 0, 0)> but was: <rgba(255, 0, 0, 1)>

The issue is that I get different result when our tests is executed on our CI or locally. In both cases our app is running in a docker container and the browser and selenium "proxy" is also running in a docker container so that should be the same. What is different is the test itself (ie the selenium client side): locally it's running directly on the OS (macosx for me) and on the CI it's running inside a docker container (debian).

Locally I get rgb(255, 0, 0) and in the CI we get rgba(255, 0, 0, 1).

Note: we use WebElement#getCSSValue() to return the value.

Any idea? Thanks

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