net.thucydides.core.pages.components
Class Dropdown

Package class diagram package Dropdown
java.lang.Object
  extended by net.thucydides.core.pages.components.Dropdown

public class Dropdown
extends Object

Created by IntelliJ IDEA. User: johnsmart Date: 6/06/11 Time: 10:25 AM To change this template use File | Settings | File Templates.


Method Summary
static Dropdown forWebElement(org.openqa.selenium.WebElement webElement)
           
 String getSelectedLabel()
           
 Set<String> getSelectedOptionLabels()
           
 Set<String> getSelectedOptionValues()
           
 String getSelectedValue()
           
 void select(String visibleLabel)
           
 void selectMultipleItems(String... selectedLabels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forWebElement

public static Dropdown forWebElement(org.openqa.selenium.WebElement webElement)

select

public void select(String visibleLabel)

selectMultipleItems

public void selectMultipleItems(String... selectedLabels)

getSelectedOptionLabels

public Set<String> getSelectedOptionLabels()

getSelectedOptionValues

public Set<String> getSelectedOptionValues()

getSelectedValue

public String getSelectedValue()

getSelectedLabel

public String getSelectedLabel()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.