diff --git a/dotnet/src/webdriver/BiDi/Input/SourceActions.cs b/dotnet/src/webdriver/BiDi/Input/SourceActions.cs index 6735dda37285e..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) { - // TODO move out as extension method + [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)])]