Skip to content

Commit 7ab4c5d

Browse files
committed
[dotnet] add Zenkaku/Hankaku key
1 parent c13fd43 commit 7ab4c5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎dotnet/src/webdriver/Keys.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ public static class Keys
346346
/// </summary>
347347
public static readonly string Command = Convert.ToString(Convert.ToChar(0xE03D, CultureInfo.InvariantCulture), CultureInfo.InvariantCulture);
348348

349+
/// <summary>
350+
/// Represents the Zenkaku/Hankaku key.
351+
/// </summary>
352+
public static readonly string ZenkakuHankaku = Convert.ToString(Convert.ToChar(0xE040, CultureInfo.InvariantCulture), CultureInfo.InvariantCulture);
353+
349354
private static Dictionary<string, string> descriptions;
350355

351356
/// <summary>
@@ -414,6 +419,7 @@ internal static object GetDescription(string value)
414419
descriptions.Add(F12, "F12");
415420
descriptions.Add(Meta, "Meta");
416421
descriptions.Add(Command, "Command");
422+
descriptions.Add(ZenkakuHankaku, "Zenkaku Hankaku");
417423
}
418424

419425
if (descriptions.ContainsKey(value))

0 commit comments

Comments
 (0)