Class KeyboardShortcuts
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.KeyboardShortcuts
-
@Deprecated public class KeyboardShortcuts extends Object
Deprecated.in 5.8. UseKeyboardShortcutsinstead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
-
-
Constructor Summary
Constructors Constructor Description KeyboardShortcuts()Deprecated.KeyboardShortcuts(com.atlassian.webdriver.AtlassianWebDriver driver)Deprecated.since 5.5.1 use injection and don't use the deprecated AtlassianWebDriver
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.openqa.selenium.KeysgetControlOrCommand()Deprecated.voidsave()Deprecated.KeyboardShortcutssendKeysToPageBody(String keys)Deprecated.Send keys to page body.KeyboardShortcutssendKeysToWindow(String keys)Deprecated.Send keys without a specific target.voidtrigger(String keys)Deprecated.
-
-
-
Constructor Detail
-
KeyboardShortcuts
@Inject public KeyboardShortcuts()
Deprecated.
-
KeyboardShortcuts
@Deprecated public KeyboardShortcuts(com.atlassian.webdriver.AtlassianWebDriver driver)
Deprecated.since 5.5.1 use injection and don't use the deprecated AtlassianWebDriver
-
-
Method Detail
-
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 usingsendKeysToPageBody(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).
-
-