Quality Testing

Quality is delighting customers

How to simulate the right click operation in WebDriver?

How to simulate the right click operation in WebDriver?

Views: 71

Reply to This

Replies to This Discussion

if you know programming: 
Use the actions object in selenium
to simulate mouse clicks
Actions
selAction = new Actions(driver);
selAction.moveToElement(Webelement);
selAction.contextClick(Webelement).build().perform();
/* this will perform right click */

good luck
Ralph
owner bsure-digital




RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2017   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service