Class KeyboardShortcuts
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.KeyboardShortcuts
-
@Deprecated public class KeyboardShortcuts extends Object
Deprecated.in 5.8. UseKeyboardShortcuts
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
-
-
Constructor Summary
Constructors Constructor Description KeyboardShortcuts()
Deprecated.KeyboardShortcuts(org.openqa.selenium.WebDriver 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.Keys
getControlOrCommand()
Deprecated.void
save()
Deprecated.KeyboardShortcuts
sendKeysToPageBody(String keys)
Deprecated.Send keys to page body.KeyboardShortcuts
sendKeysToWindow(String keys)
Deprecated.Send keys without a specific target.void
trigger(String keys)
Deprecated.
-
-
-
Constructor Detail
-
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 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).
-
-