如何使用Selenium使用键盘接口?

时间:2016-10-02 14:55:39

标签: selenium selenium-webdriver

如何使用操作(键盘键盘)或操作(键盘键盘,鼠标鼠标),如屏幕截图所示?请求您提供一些示例。

enter image description here

1 个答案:

答案 0 :(得分:0)

试试documentation。使用它的最简单方法就是传递你用来驱动自动化的任何WebDriver,它对于点击,拖动和发送键(包括键组合)非常有用。