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

com.sdl.selenium.web.form.IField Maven / Gradle / Ivy

Go to download

Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications. (optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)

There is a newer version: 20.08.432.0_b2d2a09
Show newest version
package com.sdl.selenium.web.form;

import com.sdl.selenium.web.Editable;
import com.sdl.selenium.web.IWebLocator;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;

public interface IField extends IWebLocator, Editable {

     T setPlaceholder(final String value, SearchType... searchTypes);

    default WebLocator getTriggerEl(WebLocator container, String icon) {
        WebLocator ancestor = new WebLocator(container).setElPath("/ancestor::*[contains(concat(' ', @class, ' '), ' x-form-trigger-wrap ')]");
        return new WebLocator(ancestor).setRoot("/").setClasses("x-form-" + icon).setInfoMessage(container + " -> " + icon);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy