SeleniumHQ / SeleniumHQ/selenium

[🚀 Feature]: [dotnet] Road to be AOT friendly

Open
#14,480 31 comments 4 reactions 0 assignees View on GitHub
C-dotnet I-enhancement
Dominant language
Java
Stars
34.5k
Forks
8.7k
Avg merge
2d 1h
Merged PRs (30d)
92

Description

### Feature and motivation

Any consumer of Selenium library in .NET cannot use it within publishing his application as [Native AOT Deployment](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net7%2Cwindows).

The detailed affected parts are coming...

**Selenium Manager** ✅ **v4.26**
- [x] Selenium Manager - #14481

**W3C WebDriver** ✅ **v4.26**
- [x] New Session
- [x] ... - #14574

**W3C BiDi** ✅ **v4.28**
- [x] ... https://github.com/SeleniumHQ/selenium/pull/15162

**CDP (DevTools)**
- [ ] Generate JsonSerializerContext for all DTO models
- [ ] ...

**Fine tuning**
- Address all analyzer warnings
- [ ] ...

### Usage example

Create console app, publish as native AOT, it fails at runtime.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.