Skip to content

Commit

Permalink
[dotnet] Address warnings with ActionSequence.inputDevice and use p…
Browse files Browse the repository at this point in the history
…roper alternative (#14848)
  • Loading branch information
RenderMichael authored Dec 6, 2024
1 parent ae6fe72 commit 22a6f0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/Interactions/ActionSequence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public int Count
/// Gets the input device for this Action sequence.
/// </summary>
[Obsolete("This property has been renamed to InputDevice and will be removed in a future version")]
[CLSCompliant(false)]
public InputDevice inputDevice => InputDevice;

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Interactions/Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private InputDevice FindDeviceById(string name)

if (id == name)
{
return sequence.inputDevice;
return sequence.InputDevice;
}
}

Expand Down

0 comments on commit 22a6f0b

Please sign in to comment.