public void auto_setClickElementAndHold(WebElement element) { Actions action = new Actions(getDriver()); action.clickAndHold(element).perform(); }