Skip to content

doubleClick(clickable): does not double click the found element #4149

Closed
@rscwcd

Description

@rscwcd

Hi,

We upgraded our system to use Gecko Driver(Version geckodriver-v0.16.1-win64) along with Selenium Web Driver(3.4.0) and FF 53.0. A feature called "Double Click" in our project is not working. We tried many different techniques but till now there is no success in hand. Also, we are not getting any error out of that. Below are the code that we are using to do so :

protected T double_click(By locator) {
WebElement clickable = findElement(ExpectedConditions.elementToBeClickable(locator));
new Actions(driver).moveToElement(clickable).doubleClick(clickable).perform();
return me();
}

The above method is 👎

  1. Able to find the element
  2. Able to click on the element
  3. Not able to generate double click event.
  4. Rest other tests gets fail
    The failure is not specific to any event or project but to all. Please advise.

Also, the classes related to double click in Selenium 3.4.0 is showing deprecated. Could you please let us know the next option we have to use these features ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions