com.atlassian.confluence.pageobjects
Class KeyboardShortcuts

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

public class KeyboardShortcuts
extends java.lang.Object


Constructor Summary
KeyboardShortcuts()
           
KeyboardShortcuts(com.atlassian.webdriver.AtlassianWebDriver driver)
          Deprecated. since 5.5.1 use injection and don't use the deprecated AtlassianWebDriver
 
Method Summary
 void save()
           
 KeyboardShortcuts sendKeysToPageBody(java.lang.String keys)
          Send keys to page body.
 KeyboardShortcuts sendKeysToWindow(java.lang.String keys)
          Send keys without a specific target.
 void trigger(java.lang.String keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardShortcuts

@Inject
public KeyboardShortcuts()

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(java.lang.String keys)

sendKeysToPageBody

public KeyboardShortcuts sendKeysToPageBody(java.lang.String keys)
Send keys to page body. This avoids accidentally sending them to the address bar or somewhere.

Since:
5.6

sendKeysToWindow

public KeyboardShortcuts sendKeysToWindow(java.lang.String keys)
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()


Copyright © 2003-2014 Atlassian. All Rights Reserved.