Selenium WebDriver 如何輸入使用者認證資訊 ?

  • 81
  • 0

說明 Selenium WebDriver 如何輸入使用者認證資訊 

如果在使用 WebDriver 進行UI 自動化測試時 跳出使用者認證視窗(例如: Proxy認證)

請參考以下文章  呼叫IAlert介面即可

參考網址:

https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/3265

http://stackoverflow.com/questions/24304752/how-to-handle-authentication-popup-with-selenium-webdriver-using-java

風來疏竹,風過而竹不留聲;雁度寒潭,雁去而潭不留影。故君子事來而心始現,事去而心隨空。