[🚀 Feature]: [dotnet] Small step forward to Async

Open
#17,086 5 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@spider-yamet is already working on this.

Since Feb 18, 2026.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
api

Research direction

Start by reading the linked Async issue #14067 and reviewing the current ChromeDriver construction API shown in this issue. Compare the proposed await ChromeDriver.StartAsync() approach with the alternative instance method and determine how the API could avoid breaking existing users. Done means the async startup design is agreed and its compatibility implications are resolved.

Written by the indexing model from the issue text.

Description

A-needs-triaging C-dotnet I-enhancement
Description

Nobody knows when Async https://github.com/SeleniumHQ/selenium/issues/14067 will be in place, and moreover how to do it smoothly without pain for end-users.

I propose to make small improvement now, even before v5.

Current
var driver = new ChromeDriver();
Proposal:
var driver = await ChromeDriver.StartAsync();
Have you considered any alternatives or workarounds?

In any case constructor cannot be async, we will rework it entirely. Ha, and it means everybody has to use another API.

I propose alternative approach here.

Bad?

var driver = new ChromeDriver();
await driver.StartAsync();

Better:

var driver = await ChromeDriver.StartAsync();

We can try to make it without breaking changes. Seems it is small step, but it contributes significantly. This is most tricky part of migration.

Dominant language
Java
Stars
34.6k
Forks
8.7k
Avg merge
1d 16h
Merged PRs (30d)
107

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SeleniumHQ/selenium

All issues in SeleniumHQ/selenium

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.