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.

Double Click Action

Rajkumar SM is a founder of SoftwareTestingMaterial. He is a certified Software Test Engineer by profession and blogger & youtuber by choice. He has an extensive experience in the field of Software Testing. He writes here about Software Testing which includes both Manual and Automation Testing. He loves to be with his wife and cute little kid 'Freedom'.

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

  1. Hi Raj

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

    Pl let me know your contact number

Leave a Comment

Share via
Copy link
Powered by Social Snap