SeleniumHQ / SeleniumHQ/selenium
[🚀 Feature]: [dotnet] Support Activity monitoring
- Dominant language
- Java
- Stars
- 34.5k
- Forks
- 8.7k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 92
Description
### Description
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource?view=net-11.0-pp
Low-level libraries like Selenium are able to emit information about commands/events. Selenium can support it for free, "one line" code.
### Motivation
When I started to contribute, I continuosly was creating "helper projects" to see how fast Selenium is. We can do it built in easily.
### Implementation
- Easy
- No extra dependencies
- Need to decide what we want to emit as "events"
- No performance penalty
### Example
I successfully introduced it in https://github.com/nvborisenko/selenium.webdriver.bidi.cdp
### Have you considered any alternatives or workarounds?
Currently only via internal logging.
Contributor guide
Research direction
Start with the linked System.Diagnostics.ActivitySource documentation and Selenium's existing internal logging paths; the issue does not name specific files or tests. Determine which command/event signals should be emitted and how the result can be checked without adding dependencies or a performance penalty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100