Skip to content

[🚀 Feature]: do not copy unneccesary selenium-manager binaries via Selenium.WebDriver NuGet #15768

Open
@LukasGelke

Description

@LukasGelke

Description

build\Selenium.WebDriver.targets just includes all selemium-manager binaries in the build regardless of (target) OS. It would be nice, if one could somehow control which ones are copied.
Our tests (currently) only run on windows, so the linux and macos binaries are never used and are just "bloat". Some Applications/Tests may have the <RuntimeIdentifier> or similar MsBuild-Properties set. However I guess it is not always present, if the package is included in e.g a "plain net8.0" project
So a dedicated property (that can be set in .csproj or Directory.Build.props)? (Empty=Default="copy all" to be non-breaking)

Have you considered any alternatives or workarounds?

manually delete unneeded binaries after dotnet publish

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!B-managerSelenium ManagerC-dotnet.NET BindingsI-enhancementSomething could be better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions