且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Selenium WebDriver和python按下ENTER键

更新时间:2023-12-02 21:30:40

使用API​​文档中的以下代码:

Use these codes from the API docs: http://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.common.keys

例如. ENTER将是.send_keys(u'\ue007')

Eg. ENTER would be .send_keys(u'\ue007')