Skip to content

[🚀 Feature]: [dotnet] Implement high level BiDi network commands #15985

Open
@nvborisenko

Description

@nvborisenko

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

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!C-dotnet.NET BindingsI-enhancementSomething could be better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions