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

info.novatec.testit.webtester.pagefragments.identification.producers.CssSelector Maven / Gradle / Ivy

package info.novatec.testit.webtester.pagefragments.identification.producers;

import org.openqa.selenium.By;

import info.novatec.testit.webtester.pagefragments.identification.ByProducer;


/**
 * This {@link ByProducer} produces a {@link By} using {@link By#cssSelector(String)}.
 * 

* Important: Don't forget to escape special characters when using this selector! * * @see ByProducer * @since 2.0 */ public class CssSelector implements ByProducer { @Override public By createBy(String value) { return By.cssSelector(value); } @Override public String toString() { return "CSS Selector"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy