[問題] webdriver 開啟IE

看板Python作者 (煉)時間5年前 (2019/10/14 16:39), 編輯推噓1(103)
留言4則, 4人參與, 5年前最新討論串1/1
各位版上先進大家好 小弟最近需要使用到IE 開啟網頁時卻一直遇到沒有響應的問題 想請問一下大大們 # -*- coding: utf-8 -*- from selenium import webdriver import time driver = webdriver.Ie() print("open") driver.get('https://google.com.tw') print("ok") 執行時、開啟 IE 到 google 頁面以後就沒回應了 執行顯示 open 就不動了 想請問一下是小弟少了什麼東西嗎? 還是哪用錯了呢? 謝謝!!!!! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.47.133.23 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1571042397.A.A75.html

10/14 18:36, 5年前 , 1F
IE不是很確定 不用裝IE的webdriver嗎?
10/14 18:36, 1F

10/14 19:40, 5年前 , 2F
要 還要設定安全性
10/14 19:40, 2F

10/15 08:44, 5年前 , 3F
我記得還跟登錄值有關係
10/15 08:44, 3F

10/15 12:33, 5年前 , 4F
後來發現是 IEDriverServer.exe 版本問題
10/15 12:33, 4F
文章代碼(AID): #1Tf3HTfr (Python)
文章代碼(AID): #1Tf3HTfr (Python)