Skip to content

Commit 3b3a3ed

Browse files
committed
[dotnet] remove obsolete TouchActions class
1 parent 5571415 commit 3b3a3ed

File tree

3 files changed

+1
-237
lines changed

3 files changed

+1
-237
lines changed

dotnet/src/webdriver/DriverCommand.cs

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -481,54 +481,6 @@ public static class DriverCommand
481481
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
482482
public static readonly string SendKeysToActiveElement = "sendKeysToActiveElement";
483483

484-
/// <summary>
485-
/// Represents the TouchSingleTap command.
486-
/// </summary>
487-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
488-
public static readonly string TouchSingleTap = "touchSingleTap";
489-
490-
/// <summary>
491-
/// Represents the TouchPress command.
492-
/// </summary>
493-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
494-
public static readonly string TouchPress = "touchDown";
495-
496-
/// <summary>
497-
/// Represents the TouchRelease command.
498-
/// </summary>
499-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
500-
public static readonly string TouchRelease = "touchUp";
501-
502-
/// <summary>
503-
/// Represents the TouchMove command.
504-
/// </summary>
505-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
506-
public static readonly string TouchMove = "touchMove";
507-
508-
/// <summary>
509-
/// Represents the TouchScroll command.
510-
/// </summary>
511-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
512-
public static readonly string TouchScroll = "touchScroll";
513-
514-
/// <summary>
515-
/// Represents the TouchDoubleTap command.
516-
/// </summary>
517-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
518-
public static readonly string TouchDoubleTap = "touchDoubleTap";
519-
520-
/// <summary>
521-
/// Represents the TouchLongPress command.
522-
/// </summary>
523-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
524-
public static readonly string TouchLongPress = "touchLongPress";
525-
526-
/// <summary>
527-
/// Represents the TouchFlick command.
528-
/// </summary>
529-
[Obsolete("Command not defined by W3C WebDriver Specification. Use the actions command to define user interactions.")]
530-
public static readonly string TouchFlick = "touchFlick";
531-
532484
/// <summary>
533485
/// Represents the Authenticate command
534486
/// </summary>

dotnet/src/webdriver/Interactions/TouchActions.cs

Lines changed: 0 additions & 189 deletions
This file was deleted.

dotnet/src/webdriver/WebDriver.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<Compile Remove="Internal\IFindsByPartialLinkText.cs" />
9696
<Compile Remove="Internal\IFindsByTagName.cs" />
9797
<Compile Remove="Internal\IFindsByXPath.cs" />
98+
<Compile Remove="Interactions\TouchActions.cs" />
9899
</ItemGroup>
99100

100101
<ItemGroup>

0 commit comments

Comments
 (0)