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

com.sdl.selenium.materialui.menu.Menu 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.menu;

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

@Slf4j
public class Menu extends WebLocator implements IMenu {

    public Menu() {
        setClassName("Menu");
        setBaseCls("MuiMenu-root");
        setClasses("MuiPopover-root");
    }
    private final List list = new List(this).setBaseCls("MuiMenu-list");

    public boolean clickOnMenu(String option, SearchType... searchTypes) {
        ready();
        return list.clickOn(option, searchTypes);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy