Skip to content

[🐛 Bug]: Breaking change to RemoteWebDriver constructor #13609

Closed as not planned
@MJB222398

Description

@MJB222398

What happened?

Not a bug per se, but just wanted to point out the breaking change that was made since 4.16.2. The parameter name for the ICapabilities parameter in this constructor was seemingly changed from desiredCapabilities to capabilities. Is it typical to make breaking changes in minor releases without warning? This had me worried for a bit before I saw what had happened.

public RemoteWebDriver(Uri remoteAddress, ICapabilities capabilities, TimeSpan commandTimeout)
    : this(new HttpCommandExecutor(remoteAddress, commandTimeout), capabilities)
{
}

Maybe stick something in the release notes?

How can we reproduce the issue?

N/A

Relevant log output

N/A

Operating System

N/A

Selenium version

4.18

What are the browser(s) and version(s) where you see this issue?

N/A

What are the browser driver(s) and version(s) where you see this issue?

N/A

Are you using Selenium Grid?

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions