From 329c062d68ca38b4bcfb9991024278d30625cfbf Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Sat, 6 Jun 2026 18:37:30 +0300 Subject: [PATCH] [dotnet] [bidi] Remove last obsoleted Type helper in Input module --- dotnet/src/webdriver/BiDi/Input/SourceActions.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs index b4d6d39376a4b..ed6b15858477c 100644 --- a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs +++ b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs @@ -41,14 +41,7 @@ public interface ISourceAction; public interface IKeySourceAction : ISourceAction; public sealed record KeySourceActions(string Id, ImmutableArray Actions) - : SourceActions(Id, Actions) -{ - [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)])] - }; -} + : SourceActions(Id, Actions); [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] [JsonDerivedType(typeof(PauseAction), "pause")]