作者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://webptt.com/cn.aspx?n=bbs/Python/M.1571042397.A.A75.html
1F:推 TitanEric: IE不是很确定 不用装IE的webdriver吗? 10/14 18:36
2F:→ s860134: 要 还要设定安全性 10/14 19:40
3F:→ CodingMan: 我记得还跟登录值有关系 10/15 08:44
4F:→ kiey: 後来发现是 IEDriverServer.exe 版本问题 10/15 12:33