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

com.codeborne.selenide.commands.ContextClick Maven / Gradle / Ivy

package com.codeborne.selenide.commands;

import com.codeborne.selenide.Command;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.impl.WebElementSource;

import static com.codeborne.selenide.Selenide.actions;

public class ContextClick implements Command {
  @Override
  public SelenideElement execute(SelenideElement proxy, WebElementSource locator, Object[] args) {
    actions().contextClick(locator.findAndAssertElementIsVisible()).perform();
    return proxy;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy