-
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix--大于等于111版本的chrome webview切换web上下文失败,参考官方的方案进行修复 #341
fix--大于等于111版本的chrome webview切换web上下文失败,参考官方的方案进行修复 #341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不错!感谢贡献
确认不会影响旧版本对吗? 说实话我还没遇过111版本的chromedriver,90以上都没,感谢覆盖到了 |
低版本上有些问题,我再验证下哈,重新修改下 |
或者验证下版本大于等于111的才做你这次的优化 |
嗯嗯,主要是 |
我这边重新修改了下,仅针对>=111的版本下才开启jdk-http-client,在80,90和112的机器上都自测验证了下,初步看没撒问题了,辛苦帮忙review下哈 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mg
感谢你的付出,看下v2.5.0发布后会不会有用户有其他问题,我这边微信h5可以的 |
嗯嗯,我这边也持续关注下这个问题 |
Checklist
Description
本地chrome webview版本为112,切换webview上下文失败。
查看相关资料,为selenium自身的问题。
链接 Chrome 111 is not compatible with default HTTP Client 以及ChromeDriver 111.0.5563.19 unable to establish connection to chrome给的方案为
我这边测试发现没办法解决,
另外一个方案为stackoverflow上的, Java.io.IOException: Invalid Status code=403 text=Forbidden
引入
selenium-http-jdk-client
,并设置我这边测试是可以的。