com.atlassian.confluence.pageobjects.component.form
Class Autocomplete
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.form.Autocomplete
- All Implemented Interfaces:
- Menu, PageComponent
public class Autocomplete
- extends ConfluenceAbstractPageComponent
- implements Menu
An autocomplete drop-down for a form field. Autocomplete doesn't use an AUI dropdown2 to render, so don't extend
AUIDropdownMenu
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Autocomplete
public Autocomplete()
initialise
public void initialise()
isOpen
public boolean isOpen()
open
public Autocomplete open()
close
public Autocomplete close()
getMenuContainer
public org.openqa.selenium.WebElement getMenuContainer()
- Specified by:
getMenuContainer
in interface Menu
click
public Object click(Class<? extends MenuItem> item,
Object... args)
- Specified by:
click
in interface Menu
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.
Copyright © 2003-2013 Atlassian. All Rights Reserved.