Monday, July 13, 2015

C# Selenium - DoubleClick a button using Actions

Simple way to handle double click the button.

public void DoubleClick(IWebDriver driver, IWebElement objectName)
        {
            Actions actionProvider = new Actions(driver);
            actionProvider.DoubleClick(this.objectName);
        }

1 comment:

  1. If you're looking for a reputable contextual advertising company, I suggest that you check out Chitika.

    ReplyDelete