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")]