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

com.sdl.selenium.materialui.alert.Alert 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.materialui.alert;

import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Alert extends WebLocator {

   public Alert() {
       setClassName("Alert");
       setBaseCls("MuiAlert-root");
   }

   public Alert(String message, SearchType... searchTypes) {
       this();
       if (searchTypes.length == 0) {
           searchTypes = new SearchType[]{SearchType.EQUALS, SearchType.DEEP_CHILD_NODE_OR_SELF};
       }
       setText(message, searchTypes);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy