作者kiey (煉)
看板Python
標題[問題] webdriver 開啟IE
時間Mon Oct 14 16:39:54 2019
各位版上先進大家好
小弟最近需要使用到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
推 TitanEric: IE不是很確定 不用裝IE的webdriver嗎? 10/14 18:36
→ s860134: 要 還要設定安全性 10/14 19:40
→ CodingMan: 我記得還跟登錄值有關係 10/15 08:44
→ kiey: 後來發現是 IEDriverServer.exe 版本問題 10/15 12:33