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

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