Skip to content

[🐛 Bug]: ChromeDriverService.CreateDefaultService() + service.Start() results in ArgumentNullException #12805

@drauch

Description

@drauch

What happened?

Executing the following in a .NET 7 environment:

var service = ChromeDriverService.CreateDefaultService();
service.Start();

throws:

System.ArgumentNullException : Value cannot be null. (Parameter 'path1')
   at System.ArgumentNullException.Throw(String paramName)
   at System.IO.Path.Combine(String path1, String path2)
   at OpenQA.Selenium.DriverService.Start()

How can we reproduce the issue?

See above.

Relevant log output

-

Operating System

Windows 10

Selenium version

4.12.x

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

Chrome

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

ChromeDriver 117.0.5938.62

Are you using Selenium Grid?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!C-dotnet.NET BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions