We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0963d3e commit 9d84643Copy full SHA for 9d84643
1 file changed
dotnet/src/webdriver/BiDi/Input/SourceActions.cs
@@ -43,7 +43,7 @@ public interface IKeySourceAction : ISourceAction;
43
public sealed record KeySourceActions(string Id, IEnumerable<IKeySourceAction> Actions)
44
: SourceActions<IKeySourceAction>(Id, Actions)
45
{
46
- // TODO move out as extension method
+ [Obsolete("This helper method will be removed in a future version. Use KeyDownAction and KeyUpAction directly instead.")]
47
public KeySourceActions Type(string text) => this with
48
49
Actions = [.. Actions, .. text.SelectMany<char, IKeySourceAction>(c => [new KeyDownAction(c), new KeyUpAction(c)])]
0 commit comments