Can Selenium webdriver attach to already open browser window?(Selenium webdriver 可以附加到已经打开的浏览器窗口吗?)
问题描述
经过大量搜索,我相信这个功能还没有实现——但是有没有人知道我可以尝试使用 selenium1/2 为 Java 实现的任何解决方法?如果另一个进程启动了浏览器的实例,webdriver 可以连接到那个窗口吗?任何可以尝试的解决方法.任何指针都非常感谢.
After a lot of searching I believe this feature is not implemented yet- but does anyone know of any workaround implemented for Java with selenium1/2 that i can try? If a different process started the instance of the browser , can webdriver connect to that window? Any workarounds that can be tried. Any pointers is much appreciated.
谢谢你!!
推荐答案
不行,做不到.它是 WebDriver 的最古老的功能请求之一,它是不会很快发生.对不起!
Nope, it can't be done. It's one of the oldest feature requests for WebDriver, and it isn't going to happen any time soon. Sorry!
这篇关于Selenium webdriver 可以附加到已经打开的浏览器窗口吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Selenium webdriver 可以附加到已经打开的浏览器窗口吗?
基础教程推荐
- Maven:无效的目标版本:10 2022-01-01
- 将 Windows 证书导入 Java 2022-01-01
- 如何在相机中应用自定义滤镜 [Surfaceview 预览]. 2022-01-01
- 在springboot中如何给mybatis加拦截器 2023-04-29
- doFilter()是在servlet的工作完成之前还是之后执行的? 2022-01-01
- Java ECDSAwithSHA256 签名长度不一致 2022-01-01
- JPA惰性列表上的流 2022-01-01
- 在java中使用xpath和selenium解析HTML表格数据 2022-01-01
- 将 double 转换为 Int,向下舍入 2022-01-01
- 控制台应用程序中的 Java 键盘输入解析 2022-01-01
