How can I emulate right-click in the node.js selenium-webdriver?

I am using selenium-webdriver for nodejs.

How can I emulate a right-click with this driver? I can't find this in the official documentation.

Answers:

Answer

Thanks, wmash. You help me found solution.

Answer (found here):

driver.actions().click(element1, input.Button.RIGHT).perform();

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us Javascript

©2020 All rights reserved.