nl.hsac.fitnesse.fixture.util.selenium.by.CssBy Maven / Gradle / Ivy
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