All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slickqa.webdriver.Relative Maven / Gradle / Ivy

There is a newer version: 1.0.1-37
Show newest version
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