WebDriver學習筆記(八)windows彈窗(警告彈窗)處理

測試時會遇到三種警告窗口: alert confirm 以及prompt。三種警告窗口的處理都很容易。 先新建個測試頁面,html代碼以下: alert.html <html> <head> <title> Alert</title > <script type="text/javascript"> function disp_prompt() { v
相關文章
相關標籤/搜索