IE 原生 Web Driver 调用,通过简单配置,即可自动化测试 IE 浏览器(目前仅限 Internet Explorer Developer Channel 版本)。做一些自动化的操作,都是很容易的。如快速登录、抢票等。
- 开始-运行-cmd
- 粘贴或输入 格式:LinrIEWebDriver.exe xxx.json /appvve:9BD02EED-6C11-4FF0-8A3E-0B4733EE86A1_6A0357B5-AB99-4856-8A59-CF2C38579E78
- 如:LinrIEWebDriver.exe config.json /appvve:9BD02EED-6C11-4FF0-8A3E-0B4733EE86A1_6A0357B5-AB99-4856-8A59-CF2C38579E78
打开 bing 输入 WebDriver,截屏并弹出 123 提示 config.json:
{ "newSession":[], "get":"http://bing.com", "wait":20, "maximizeWindow":{}, "findElement":"input[name=q]", "sendKeys":["W", "e", "b", "D", "r", "i", "v", "e", "r", "\uE007"], "executeScript":"alert(1)", "takeScreenshot":"", "executeScript(script, args)" : [‘alert(arguments[0])‘, ["123"]] }
https://github.com/Linrstudio/Linr-IE-Web-Driver
Internet Explorer Developer Channel 自动化测试 IE 浏览器,布布扣,bubuko.com