diff --git a/dotnet/src/webdriver/Interactions/ActionSequence.cs b/dotnet/src/webdriver/Interactions/ActionSequence.cs index 6b60496e37fc19..2ad1576a084d58 100644 --- a/dotnet/src/webdriver/Interactions/ActionSequence.cs +++ b/dotnet/src/webdriver/Interactions/ActionSequence.cs @@ -72,6 +72,7 @@ public int Count /// Gets the input device for this Action sequence. /// [Obsolete("This property has been renamed to InputDevice and will be removed in a future version")] + [CLSCompliant(false)] public InputDevice inputDevice => InputDevice; /// diff --git a/dotnet/src/webdriver/Interactions/Actions.cs b/dotnet/src/webdriver/Interactions/Actions.cs index 4fc3307982a83f..e3672dd5a5c7a2 100644 --- a/dotnet/src/webdriver/Interactions/Actions.cs +++ b/dotnet/src/webdriver/Interactions/Actions.cs @@ -138,7 +138,7 @@ private InputDevice FindDeviceById(string name) if (id == name) { - return sequence.inputDevice; + return sequence.InputDevice; } }