2014-09-01 84 views

回答

7

警報對象不可調用?那麼你應該停止調用它。因此,修改

browser.switch_to.alert().accept() 

browser.switch_to.alert.accept() 

(所以alert後刪除())。

相關問題