Class KeyHelper

java.lang.Object
com.atlassian.jira.plugins.pageobjects.KeyHelper

public class KeyHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Generates the platform-specific undo sequence that can be sent to an element OSX: Cmd+y Linux/Windows: Ctrl+y
    static String
    Generates the platform-specific select all text that can be sent to an element OSX: Cmd+a Linux/Windows: Ctrl+a
    static String
    Generates the platform-specific undo sequence that can be sent to an element OSX: Cmd+z Linux/Windows: Ctrl+Z

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeyHelper

      public KeyHelper()
  • Method Details

    • getUndoKeys

      public static String getUndoKeys()
      Generates the platform-specific undo sequence that can be sent to an element OSX: Cmd+z Linux/Windows: Ctrl+Z
      Returns:
      the undo sequence
    • getRedoKeys

      public static String getRedoKeys()
      Generates the platform-specific undo sequence that can be sent to an element OSX: Cmd+y Linux/Windows: Ctrl+y
      Returns:
      the redo sequence
    • getSelectAllKeys

      public static String getSelectAllKeys()
      Generates the platform-specific select all text that can be sent to an element OSX: Cmd+a Linux/Windows: Ctrl+a
      Returns:
      the redo sequence