Double Click and Right Click Syntax in Selenum? - TestingQ.com

-->Exclusive Portal for Testing Jobs

Double Click and Right Click Syntax in Selenum?


Double Click
Actions actions = new Actions(driver);
WebElement element = driver.findElement(By.id("ID"));
actions.doubleClick(element).perform();


Right Click
Actions actions = new Actions(driver);
WebElement element = driver.findElement(By.id("ID"));
actions.contextClick(element).perform();




To receive daily posted JOBS and Interview Questions
Just enter your email address below and click 'Submit'

Enter your email address:



Make sure to activate your subscription by clicking on the activation link sent to your email

No comments:

Post a Comment