#coding=utf-8 ''' selenium ''' from selenium import webdriver as wd import time bc=wd.Chrome(executable_path='f:\\chromedriver') #bc=wd.Ie(executable_path='f:\\IEDriverServer') bc.get('https://www.sogou.com') #模拟键盘事件 from selenium.webdriver.common.ke
1.打开Xshell,单击菜单栏的Tools(工具),选中Options(菜单),进入参数设置界面.. 2. 选择Keyboard and Mouse (键盘和鼠标),把Right-bottox(向右按钮)要素的值选为“Paste the clipboard contents”,点击确定.在选项Copy selected text to the auto (将选定的文本自动复制到剪切板)打“√” 最后确定 3.按住左键选中内容,需要输入的地方点击右键即可粘贴.