当前位置:网站首页>selenium驱动IE常见问题解决Message: Currently focused window has been closed.
selenium驱动IE常见问题解决Message: Currently focused window has been closed.
2022-07-04 06:33:00 【51CTO】
1、保护模式不一致(全部打开保护模式)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.
2、窗口已关闭
Message: Currently focused window has been closed.
解决方法:
第一步:
打开IE,工具->Internet选项->高级->重置,弹出窗口,选项“删除个人设置”打上勾,确定重置,回到原始默认状态;
第二步:
禁用smartscreen,打开IE,工具->Internet选项->安全->选择Internet->自定义级别,找到使用 SmartScreen 筛选器,选择禁用,然后确定;
第三步:
打开IE,工具->Internet 选项,点击高级标签,在“加速的图形"下"使用软件呈现而不使用GPU呈现"前面打勾。
第四步:
重启浏览器,不需要重启电脑。
边栏推荐
- 740. Delete and get points
- Analysis of tars source code 1
- 双色球案例
- Mysql 45讲学习笔记(十)force index
- Detectron: train your own data set -- convert your own data format to coco format
- Bicolor case
- 2022 where to find enterprise e-mail and which is the security of enterprise e-mail system?
- Another company raised the price of SAIC Roewe new energy products from March 1
- 采用中微BATG135实现IIC数据/指令交互
- Displaying currency in Indian numbering format
猜你喜欢
Shopping malls, storerooms, flat display, user-defined maps can also be played like this!
4G wireless all network solar hydrological equipment power monitoring system bms110
After the festival, a large number of people change careers. Is it still time to be 30? Listen to the experience of the past people
ORICO ORICO outdoor power experience, lightweight and portable, the most convenient office charging station
Fundamentals of SQL database operation
Matlab remainder
uniapp 自定义环境变量
How to use multithreading to export excel under massive data? Source code attached!
Another company raised the price of SAIC Roewe new energy products from March 1
C實現貪吃蛇小遊戲
随机推荐
2022 wechat enterprise mailbox login entry introduction, how to open and register enterprise wechat enterprise mailbox?
STM32 单片机ADC 电压计算
Arcpy uses the updatelayer function to change the symbol system of the layer
How to realize multi account login of video platform members
R统计绘图-随机森林分类分析及物种丰度差异检验组合图
Invalid bound statement (not found): com. example. mapper. TblUserRecordMapper. login
Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout
Analysis of tars source code 5
分布式CAP理论
SQL injection SQL lab 11~22
The solution of win11 taskbar right click without Task Manager - add win11 taskbar right click function
Distributed cap theory
C réaliser des jeux de serpents gourmands
The sorting in C language realizes the number sorting method from small to large
[problem record] 03 connect to MySQL database prompt: 1040 too many connections
what the fuck! If you can't grab it, write it yourself. Use code to realize a Bing Dwen Dwen. It's so beautiful ~!
[backpack DP] backpack problem
Another company raised the price of SAIC Roewe new energy products from March 1
QT qtablewidget table column top requirements ideas and codes
Displaying currency in Indian numbering format