The Actions class in Selenium allows us to do double clicks on items. We’ll use the moveToElement() function first, then the doubleClick() method to complete the double click action. Finally, construct (). perform() will carry out all of the steps.