Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
298 views
in Technique[技术] by (71.8m points)

java - Can Selenium webdriver attach to already open browser window?

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.

Thank You!!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...