-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-dotnet.NET Bindings.NET BindingsI-enhancementSomething could be betterSomething could be better
Description
Description
This is a continuation of #13993
Let's think and propose good high-level API to achieve it in .NET/C#.
Have you considered any alternatives or workarounds?
Here we will adjust our collective proposal:
await using var subscription = await driver.Network.OnRequestAsync(..., new RequestOptions { WithBody = true });
await using var subscription = await driver.Network.OnResponseAsync(...);
await using var subscription = await driver.Network.OnAuthenticationAsync(...);
class Subscription(string id): IAsyncDisposable (even IDisposable?)
{
Task UnsubscribeAsync();
}
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-dotnet.NET Bindings.NET BindingsI-enhancementSomething could be betterSomething could be better