Skip to content

Define the syntax of browserVersion? #1898

Open
@gsnedders

Description

@gsnedders

c.f. https://w3c.github.io/webdriver/#:~:text=%22browserVersion%22,-Compare%20value%20to, which says:

Compare value to the "browserVersion" entry in matched capabilities using an implementation-defined comparison algorithm. The comparison is to accept a value that places constraints on the version using the "<", "<=", ">", and ">=" operators.

And the note below:

Version comparison is left as an implementation detail since each user agent will likely have conflicting methods of encoding the user agent version, and standardizing these schemes is beyond the scope of this standard.

While I get we don't want to define the actual semantics of the comparison operators, we should define what the syntax of the browserVersion capability is itself.

Like, is browserVersion expected to take values like >=1.0.0? Can you combine multiple comparisons?

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