
以為是alert彈窗操作有錯誤:
點擊OK就可以了
#bt.click()
#點擊一個按鈕后出現了一個彈窗
al=browser.switch_to.alert
al.accept()
報錯:no such window:target window already closed
from unknown error:web view not found
視窗特征,出現在地址欄下側
出現后其他頁面不可操作,只能操作這個彈窗
通過F12找不到這個彈出視窗
請問:谷歌瀏覽器的這個彈出視窗是什么型別的,該怎么操作
uj5u.com熱心網友回復:
看看是不是一個新的window
window_list = browser.window_handles
print(en(window_list))
uj5u.com熱心網友回復:
是證書選擇視窗參考這個
https://blog.csdn.net/weixin_44285988/article/details/108099895
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/133059.html
上一篇:tushare金融庫notice_content函式無法回傳正確結果提示list index out of range的處理
