com.atlassian.confluence.pageobjects.component.form
Class Autocomplete

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.form.Autocomplete
All Implemented Interfaces:
PageComponent

public class Autocomplete
extends ConfluenceAbstractPageComponent

An autocomplete drop-down for a form field. Autocomplete doesn't use an AUI dropdown2 to render, so don't extend AUIDropdownMenu.


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
Autocomplete()
           
 
Method Summary
 void clickItemWithText(String text)
           
 List<String> getItemTexts()
           
 void initialise()
           
 boolean isOpen()
           
 void selectItem(int index)
          Selects the autocomplete item with the given index.
 void waitForItemWithText(String text)
          Waits until an autocomplete menu item with the given text is displayed.
 void waitUntilReady()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Autocomplete

public Autocomplete()
Method Detail

initialise

public void initialise()

isOpen

public boolean isOpen()

waitUntilReady

public void waitUntilReady()

getItemTexts

public List<String> getItemTexts()

selectItem

public void selectItem(int index)
Selects the autocomplete item with the given index.


waitForItemWithText

public void waitForItemWithText(String text)
Waits until an autocomplete menu item with the given text is displayed.


clickItemWithText

public void clickItemWithText(String text)


Copyright © 2003–2015 Atlassian. All rights reserved.