Class KeyboardShortcuts

java.lang.Object
com.atlassian.confluence.pageobjects.KeyboardShortcuts

@Deprecated public class KeyboardShortcuts extends Object
Deprecated.
in 5.8. Use KeyboardShortcuts instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
  • Constructor Details

    • KeyboardShortcuts

      @Inject public KeyboardShortcuts()
      Deprecated.
    • KeyboardShortcuts

      @Deprecated public KeyboardShortcuts(org.openqa.selenium.WebDriver driver)
      Deprecated.
      since 5.5.1 use injection and don't use the deprecated AtlassianWebDriver
  • Method Details

    • trigger

      public void trigger(String keys)
      Deprecated.
    • sendKeysToPageBody

      public KeyboardShortcuts sendKeysToPageBody(String keys)
      Deprecated.
      Send keys to page body. This avoids accidentally sending them to the address bar or somewhere.
      Since:
      5.6
    • sendKeysToWindow

      public KeyboardShortcuts sendKeysToWindow(String keys)
      Deprecated.
      Send keys without a specific target. This allows testing situations where the focus is expressly manipulated by javascript, and where using sendKeysToPageBody(String) will fail due to that.
      Since:
      5.6
    • save

      public void save()
      Deprecated.
    • getControlOrCommand

      public org.openqa.selenium.Keys getControlOrCommand()
      Deprecated.
      Returns:
      an operating system dependent key for the 'control' key (which is command in OSX).