How To Perform Double Click Action In Selenium WebDriver

Perform Double Click Action In Selenium:

In some scenarios, we may need to do double click action on a particular element to move further. In such cases, we use Actions class in Selenium WebDriver to work on Mouse and Keyboard Actions. Check out the below link for detailed explanation of Actions Class.

Must Read: Actions Class in Selenium WebDriver

Scenario to be automated:

  1. Launch the web browser and open the application
  2. Find the required element and do double click on the element
  3. Close the browser to end the program

Copy the below mentioned script and work on this scenario.

Given clear explanation in the comments section with in the program itself. Please go through it to understand the flow.

If you are not regular reader of my blog then I highly recommend you to signup for the free email newsletter using the below link.

Sharing is caring.

Share on facebook
Share on twitter
Share on linkedin

Like This Post?

We have a lot more where that came from?

We only send really good stuff occasionally, promise.

Rajkumar SM

1 thought on “How To Perform Double Click Action In Selenium WebDriver”

  1. Srinivas Pasupula

    Hi Raj

    need your help in simulating double click using Selenium Open2Test framework….

    Pl let me know your contact number

Leave a Comment

Your email address will not be published. Required fields are marked *

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp

Recent Posts:

Scroll to Top
API Testing eBook