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

org.jspringbot.keyword.selenium.web.IsElementVisible Maven / Gradle / Ivy

There is a newer version: 1.9
Show newest version
package org.jspringbot.keyword.selenium.web;


import org.jspringbot.KeywordInfo;
import org.jspringbot.keyword.selenium.AbstractSeleniumKeyword;
import org.springframework.stereotype.Component;

@Component
@KeywordInfo(
        name = "Is Element Visible",
        parameters = {"locator"},
        description = "classpath:desc/IsElementVisible.txt"
)
public class IsElementVisible extends AbstractSeleniumKeyword {

    public Object execute(Object[] params) {
        return helper.isElementVisible(String.valueOf(params[0]));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy