一:安装Selenium这里用pip安装Selenium 3.3.11,打开CMD,输入pipinstallselenium==3.3.1pipinstallselenium==3.3.12,出现SuccessfullyInstall后关闭窗口(我是卸载后安装,第一次安装的界面与此不同) 3,使用pipshowselenium可以查看版本pipshowselenium注意:非必要不安装4.0及以上版本,新版本调用Pack时语法发生改动二:下载并配置EdgeDriver1,官网地址:https://developer.microsoft.com/en-us/microsoft-edge/tool