Skip to content

Commit 9d84643

Browse files
authored
[dotnet] [bidi] Obsolete Type(string) method in Input module (#17377)
1 parent 0963d3e commit 9d84643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotnet/src/webdriver/BiDi/Input/SourceActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface IKeySourceAction : ISourceAction;
4343
public sealed record KeySourceActions(string Id, IEnumerable<IKeySourceAction> Actions)
4444
: SourceActions<IKeySourceAction>(Id, Actions)
4545
{
46-
// TODO move out as extension method
46+
[Obsolete("This helper method will be removed in a future version. Use KeyDownAction and KeyUpAction directly instead.")]
4747
public KeySourceActions Type(string text) => this with
4848
{
4949
Actions = [.. Actions, .. text.SelectMany<char, IKeySourceAction>(c => [new KeyDownAction(c), new KeyUpAction(c)])]

0 commit comments

Comments
 (0)