Internet Explorer Developer Channel 自動化測試 IE 瀏覽器

來源:互聯網
上載者:User

標籤:blog   http   java   javascript   io   div   

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.