from selenium.webdriver.common.keys import Keys
- send_keys(Keys.BACK_SPACE) 删除键
- send_keys(Keys.SPACE)空格键
- send_keys(Keys.TAB)制表键
- send_keys(Keys.ESCAPE)回退键
- send_keys(Keys.ENTER)回车键
- send_keys(Keys.CONTROL,'a')全选
- send_keys(Keys.CONTROL,'c')复制
- send_keys(Keys.CONTROL,'x')剪贴
- send_keys(Keys.CONTROL,'v')粘贴
- send_keys(Keys.F1)键盘F1
- ......
- send_keys(Keys.F12)键盘F12