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

com.sdl.selenium.bootstrap.window.Tooltip 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)

The newest version!
package com.sdl.selenium.bootstrap.window;

import com.sdl.selenium.web.WebLocator;

public class Tooltip extends WebLocator {

    public Tooltip() {
        setInfoMessage("Tooltip");
        setClasses("tooltip");
        setTemplate("title", "count(//*[@class='tooltip-inner' and text()='%s']) > 0");
    }

    public Tooltip(String message) {
        this();
        setTitle(message);
        setInfoMessage("Tooltip has message: '" + message + "'.");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy