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

org.jboss.arquillian.graphene.spi.findby.LocationStrategy Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha.4
Show newest version
package org.jboss.arquillian.graphene.spi.findby;

import java.lang.annotation.Annotation;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

/**
 * 

Allows to locate {@link WebElement}s by providing their locators ({@link By}).

* *

See an example usage in {@link ImplementsLocationStrategy}. * * @author Lukas Fryc * * @see ImplementsLocationStrategy */ public interface LocationStrategy { /** * Transforms annotation which is marked with this location strategy using {@link ImplementsLocationStrategy} annotation to locator {@link By}. */ public abstract By fromAnnotation(Annotation annotation); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy