我怎样才能在node.js selenium-webdriver中模拟右键单击?
我使用的是nodejs的selenium-webdriver 。
我怎样才能模仿这个驱动程序的右键单击? 我在官方文档中找不到这个。
谢谢,wmash。 你帮我find解决办法。
答案(在这里find):
driver.actions().click(element1, input.Button.RIGHT).perform();
我使用的是nodejs的selenium-webdriver 。
我怎样才能模仿这个驱动程序的右键单击? 我在官方文档中找不到这个。
谢谢,wmash。 你帮我find解决办法。
答案(在这里find):
driver.actions().click(element1, input.Button.RIGHT).perform();