com.codeborne.selenide.commands.GetAttribute Maven / Gradle / Ivy
package com.codeborne.selenide.commands;
import com.codeborne.selenide.Command;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.impl.WebElementSource;
public class GetAttribute implements Command {
@Override
public String execute(SelenideElement proxy, WebElementSource locator, Object[] args) {
return locator.getWebElement().getAttribute((String) args[0]);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy