cz.datalite.test.webdriver.zk.ListcellElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Selenium Show documentation
Show all versions of Selenium Show documentation
Integration tests with Selenium 2.0 (WebDriver) - PageObjects pattern (still in beta)
The newest version!
package cz.datalite.test.webdriver.zk;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
/**
*
* @author Jiri Bubnik
*/
public class ListcellElement extends ZkElement {
public ListcellElement( final ZkDriver zkDriver, final ZkElement parent, final WebElement webElement ) {
super( zkDriver, parent, webElement );
}
/**
* Returns label of typical listcell (in html it is realized as td with one div).
*
* @return label of the listcell
*/
public String getLabel() {
return findElement( By.tagName( "div" ) ).getText();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy