nl.hsac.fitnesse.fixture.util.selenium.by.CssBy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-fixtures Show documentation
Show all versions of hsac-fitnesse-fixtures Show documentation
Fixtures to assist in testing via FitNesse
package nl.hsac.fitnesse.fixture.util.selenium.by;
import org.openqa.selenium.By;
/**
* By using CSS selectors.
*/
public class CssBy extends LazyPatternBy {
/**
* Creates By based on CSS selector, supporting placeholder replacement.
* @param pattern basic CSS selector, possibly with placeholders.
* @param parameters values for placeholders.
*/
public CssBy(String pattern, String... parameters) {
super(pattern, parameters);
}
@Override
protected By createNested(String expr) {
return By.cssSelector(expr);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy