Selenium Webdriver可以连接到已经打开的浏览器窗口吗? [英] Can Selenium webdriver attach to already open browser window?

查看:560
本文介绍了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可以连接到已经打开的浏览器窗口吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆