com.slickqa.webdriver.Relative Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slick-webdriver-java Show documentation
Show all versions of slick-webdriver-java Show documentation
This is a wrapper and utilities for using webdriver / selenium in Java.
package com.slickqa.webdriver;
import org.openqa.selenium.By;
/**
*
* @author slambson
*/
public class Relative
{
public static RelativeElement Descendant(PageElement descendant)
{
return new Descendant(descendant);
}
public static RelativeElement Descendant(By finder) {
return new Descendant(finder);
}
public static RelativeElement PrecededBySibling(PageElement precededBySibling) {
return new PrecededBySibling(precededBySibling);
}
public static RelativeElement PrecededBySibling(By finder) {
return new PrecededBySibling(finder);
}
public static RelativeElement FollowedBySibling(PageElement followedBySibling) {
return new FollowedBySibling(followedBySibling);
}
public static RelativeElement FollowedBySibling(By finder) {
return new FollowedBySibling(finder);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy