Skip to content

Commit 24a5741

Browse files
committed
[dotnet] remove deprecated html5 commands and classes for web storage, application cache and location context
1 parent a66def2 commit 24a5741

22 files changed

+0
-1423
lines changed

dotnet/src/webdriver/DriverCommand.cs

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -559,96 +559,6 @@ public static class DriverCommand
559559
[Obsolete("Command not defined by W3C WebDriver Specification.")]
560560
public static readonly string SetLocation = "setLocation";
561561

562-
/// <summary>
563-
/// Represents the GetAppCache command.
564-
/// </summary>
565-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
566-
public static readonly string GetAppCache = "getAppCache";
567-
568-
/// <summary>
569-
/// Represents the application cache GetStatus command.
570-
/// </summary>
571-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
572-
public static readonly string GetAppCacheStatus = "getStatus";
573-
574-
/// <summary>
575-
/// Represents the ClearAppCache command.
576-
/// </summary>
577-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
578-
public static readonly string ClearAppCache = "clearAppCache";
579-
580-
/// <summary>
581-
/// Represents the GetLocalStorageItem command.
582-
/// </summary>
583-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
584-
public static readonly string GetLocalStorageItem = "getLocalStorageItem";
585-
586-
/// <summary>
587-
/// Represents the GetLocalStorageKeys command.
588-
/// </summary>
589-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
590-
public static readonly string GetLocalStorageKeys = "getLocalStorageKeys";
591-
592-
/// <summary>
593-
/// Represents the SetLocalStorageItem command.
594-
/// </summary>
595-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
596-
public static readonly string SetLocalStorageItem = "setLocalStorageItem";
597-
598-
/// <summary>
599-
/// Represents the RemoveLocalStorageItem command.
600-
/// </summary>
601-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
602-
public static readonly string RemoveLocalStorageItem = "removeLocalStorageItem";
603-
604-
/// <summary>
605-
/// Represents the ClearLocalStorage command.
606-
/// </summary>
607-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
608-
public static readonly string ClearLocalStorage = "clearLocalStorage";
609-
610-
/// <summary>
611-
/// Represents the GetLocalStorageSize command.
612-
/// </summary>
613-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
614-
public static readonly string GetLocalStorageSize = "getLocalStorageSize";
615-
616-
/// <summary>
617-
/// Represents the GetSessionStorageItem command.
618-
/// </summary>
619-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
620-
public static readonly string GetSessionStorageItem = "getSessionStorageItem";
621-
622-
/// <summary>
623-
/// Represents the GetSessionStorageKeys command.
624-
/// </summary>
625-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
626-
public static readonly string GetSessionStorageKeys = "getSessionStorageKeys";
627-
628-
/// <summary>
629-
/// Represents the SetSessionStorageItem command.
630-
/// </summary>
631-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
632-
public static readonly string SetSessionStorageItem = "setSessionStorageItem";
633-
634-
/// <summary>
635-
/// Represents the RemoveSessionStorageItem command.
636-
/// </summary>
637-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
638-
public static readonly string RemoveSessionStorageItem = "removeSessionStorageItem";
639-
640-
/// <summary>
641-
/// Represents the ClearSessionStorage command.
642-
/// </summary>
643-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
644-
public static readonly string ClearSessionStorage = "clearSessionStorage";
645-
646-
/// <summary>
647-
/// Represents the GetSessionStorageSize command.
648-
/// </summary>
649-
[Obsolete("Command not defined by W3C WebDriver Specification. Use JavaScript execution to manage HTML5 storage and cache features.")]
650-
public static readonly string GetSessionStorageSize = "getSessionStorageSize";
651-
652562
public static readonly IList<string> KnownCommands = new List<string>()
653563
{
654564
Status,

dotnet/src/webdriver/HTML5/AppCacheStatus.cs

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

dotnet/src/webdriver/HTML5/ApplicationCache.cs

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

dotnet/src/webdriver/HTML5/IApplicationCache.cs

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

dotnet/src/webdriver/HTML5/IHasApplicationCache.cs

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

dotnet/src/webdriver/HTML5/IHasLocationContext.cs

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

dotnet/src/webdriver/HTML5/IHasWebStorage.cs

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

0 commit comments

Comments
 (0)