Skip to content

Commit f1f4768

Browse files
RenderMichaelsandeepsuryaprasad
authored andcommitted
[dotnet] Address warnings with ActionSequence.inputDevice and use proper alternative (SeleniumHQ#14848)
1 parent df3fb76 commit f1f4768

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dotnet/src/webdriver/Interactions/ActionSequence.cs

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public int Count
7272
/// Gets the input device for this Action sequence.
7373
/// </summary>
7474
[Obsolete("This property has been renamed to InputDevice and will be removed in a future version")]
75+
[CLSCompliant(false)]
7576
public InputDevice inputDevice => InputDevice;
7677

7778
/// <summary>

dotnet/src/webdriver/Interactions/Actions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private InputDevice FindDeviceById(string name)
138138

139139
if (id == name)
140140
{
141-
return sequence.inputDevice;
141+
return sequence.InputDevice;
142142
}
143143
}
144144

0 commit comments

Comments
 (0)