Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何执行Ctrl+;使用python在SeleniumWebDriver中进行v操作_Python_Selenium - Fatal编程技术网

如何执行Ctrl+;使用python在SeleniumWebDriver中进行v操作

如何执行Ctrl+;使用python在SeleniumWebDriver中进行v操作,python,selenium,Python,Selenium,任何人都可以使用python为SeleniumWebDriver中的Ctrl+v操作提供示例代码吗?我们可以使用ActionsChains实用程序来实现这一点。举例如下: ActionsChains(driver).key_down(Keys.CONTROL).send_keys('v').key_up(Keys.CONTROL).perform() 让我知道这是否对你有帮助

任何人都可以使用python为SeleniumWebDriver中的Ctrl+v操作提供示例代码吗?我们可以使用ActionsChains实用程序来实现这一点。举例如下:

ActionsChains(driver).key_down(Keys.CONTROL).send_keys('v').key_up(Keys.CONTROL).perform()
让我知道这是否对你有帮助