com.sdl.selenium.extjs6.window.ToolTip 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)
The newest version!
package com.sdl.selenium.extjs6.window;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
public class ToolTip extends WebLocator {
public ToolTip() {
setInfoMessage("ToolTip");
setClasses("x-tip");
setAttribute("aria-hidden", "false");
}
public ToolTip(String message, SearchType... searchTypes) {
this();
WebLocator messageEl = new WebLocator(this).setClasses("x-tip-body").setText(message, searchTypes);
setChildNodes(messageEl);
}
public String getMessage() {
WebLocator messageEl = new WebLocator(this).setClasses("x-tip-body");
return messageEl.getText();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy