-
-
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!B-devtoolsIncludes everything BiDi or Chrome DevTools relatedIncludes everything BiDi or Chrome DevTools relatedC-dotnet.NET Bindings.NET BindingsI-enhancementSomething could be betterSomething could be better
Description
Description
Now:
await context.NavigateAsync("https://selenium.dev");
Even with optional arguments:
await context.NavigateAsync("https://selenium.dev", new() { Wait = ReadinessState.Complete});
It is very good API to prevent any breaking changes if BiDi Spec changes optional parameters.
Have you considered any alternatives or workarounds?
What if we consider C# optional arguments natively?
await context.NavigateAsync("https://selenium.dev", wait: ReadinessState.Complete);
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!B-devtoolsIncludes everything BiDi or Chrome DevTools relatedIncludes everything BiDi or Chrome DevTools relatedC-dotnet.NET Bindings.NET BindingsI-enhancementSomething could be betterSomething could be better