com.sdl.selenium.web.IWebLocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Testy Show documentation
Show all versions of Testy Show documentation
Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications.
(optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)
package com.sdl.selenium.web;
public interface IWebLocator {
String getCssValue(String propertyName);
String getAttributeId();
String getAttributeClass();
String getCurrentElementPath();
/**
* @param attribute e.g. class, id
* @return String attribute, if element not exist return null.
*/
String getAttribute(String attribute);
boolean isElementPresent();
int size();
boolean isVisible();
boolean waitToRender();
boolean waitToRender(final long millis);
boolean ready();
boolean ready(int seconds);
String getXPath();
T setRoot(final String root);
T setTag(final String tag);
T setId(final String id);
T setElPath(final String elPath);
T setBaseCls(final String baseCls);
T setCls(final String cls);
T setClasses(final String... classes);
T setExcludeClasses(final String... excludeClasses);
T setChildNodes(final WebLocator... childNodes);
T setName(final String name);
T setText(final String text, final SearchType... searchTypes);
T setSearchTextType(SearchType... searchTextTypes);
T addSearchTextType(SearchType... searchTextTypes);
// T setSearchLabelType(SearchType... searchLabelType);
T setStyle(final String style);
T setTitle(final String title, SearchType... searchTypes);
T setTemplateTitle(WebLocator titleEl);
T setElPathSuffix(final String key, final String elPathSuffix);
T setTemplateValue(final String key, final String value);
T setTemplate(final String key, final String value);
T addToTemplate(final String key, final String value);
T setInfoMessage(final String infoMessage);
T setVisibility(final boolean visibility);
T setRenderMillis(final long renderMillis);
T setActivateSeconds(final int activateSeconds);
T setContainer(WebLocator container);
T setLabel(final String label, final SearchType... searchTypes);
T setLabelTag(final String labelTag);
T setLabelPosition(final String labelPosition);
T setPosition(final int position);
T setResultIdx(final int resultIdx);
T setType(final String type);
T setAttribute(final String attribute, final String value, final SearchType ...searchTypes);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy