当前位置:网站首页>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呈现"前面打勾。
第四步:
重启浏览器,不需要重启电脑。
边栏推荐
- JSON Web Token----JWT和传统session登录认证对比
- 运算符<< >>傻瓜式测试用例
- C實現貪吃蛇小遊戲
- 分布式CAP理论
- JSON web token -- comparison between JWT and traditional session login authentication
- 2022年,或许是未来10年经济最好的一年,2022年你毕业了吗?毕业后是怎么计划的?
- What is the sheji principle?
- 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
- Nexus 6p downgraded from 8.0 to 6.0+root
- Fast power (template)
猜你喜欢
GoogleChromePortable 谷歌chrome浏览器便携版官网下载方式
Notes and notes
Shopping malls, storerooms, flat display, user-defined maps can also be played like this!
JSON Web Token----JWT和传统session登录认证对比
颈椎、脚气
ABAP:OOALV实现增删改查功能
2022 wechat enterprise mailbox login entry introduction, how to open and register enterprise wechat enterprise mailbox?
Native Cloud - SSH articles must be read on Cloud (used for Remote Login to Cloud Server)
198. House raiding
24 magicaccessorimpl can access the debugging of all methods
随机推荐
STM32 单片机ADC 电压计算
Dimension and format of data
ADC voltage calculation of STM32 single chip microcomputer
tars源码分析之1
Wechat applet scroll view component scrollable view area
[Android reverse] function interception (CPU cache mechanism | CPU cache mechanism causes function interception failure)
what the fuck! If you can't grab it, write it yourself. Use code to realize a Bing Dwen Dwen. It's so beautiful ~!
Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane
How to use multithreading to export excel under massive data? Source code attached!
Mysql 45讲学习笔记(六)全局锁
thread priority
How to implement cross domain requests
2022年,或許是未來10年經濟最好的一年,2022年你畢業了嗎?畢業後是怎麼計劃的?
金盾视频播放器拦截的软件关键词和进程信息
The solution of win11 taskbar right click without Task Manager - add win11 taskbar right click function
tars源码分析之6
QT releases multilingual International Translation
2022.7.3-----leetcode.556
Average two numbers
【问题记录】03 连接MySQL数据库提示:1040 Too many connections