From 8352b7838a32eab22af7b43a722aa5bd1e05f747 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Thu, 23 Apr 2026 22:35:28 +0300 Subject: [PATCH 1/2] [dotnet] [bidi] Obsolete Type(string) method in Input module --- dotnet/src/webdriver/BiDi/Input/SourceActions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs index 6735dda37285e..e24106f465f1e 100644 --- a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs +++ b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs @@ -43,7 +43,7 @@ public interface IKeySourceAction : ISourceAction; public sealed record KeySourceActions(string Id, IEnumerable Actions) : SourceActions(Id, Actions) { - // TODO move out as extension method + [Obsolete("This helper method will be removed in v4.45. Use KeyDown and KeyUp actions directly instead.")] public KeySourceActions Type(string text) => this with { Actions = [.. Actions, .. text.SelectMany(c => [new KeyDownAction(c), new KeyUpAction(c)])] From 60bd475cd7d0517cd1dc5661cc2b7cac93d05fa7 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Thu, 23 Apr 2026 22:45:40 +0300 Subject: [PATCH 2/2] Update dotnet/src/webdriver/BiDi/Input/SourceActions.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- dotnet/src/webdriver/BiDi/Input/SourceActions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs index e24106f465f1e..a91e3e0b3e19f 100644 --- a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs +++ b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs @@ -43,7 +43,7 @@ public interface IKeySourceAction : ISourceAction; public sealed record KeySourceActions(string Id, IEnumerable Actions) : SourceActions(Id, Actions) { - [Obsolete("This helper method will be removed in v4.45. Use KeyDown and KeyUp actions directly instead.")] + [Obsolete("This helper method will be removed in a future version. Use KeyDownAction and KeyUpAction directly instead.")] public KeySourceActions Type(string text) => this with { Actions = [.. Actions, .. text.SelectMany(c => [new KeyDownAction(c), new KeyUpAction(c)])]