1

I'm using selenium on .net I noticed that the driver inherits from RemoteWebDriver and there are a couple of hints: CurrentWindowHandle defined As String and WindowHandles[] also defined as String, but they are readonly.

I will like to attach a running browser and the after some work, detach it (not closing it).

fcm
  • 1,247
  • 15
  • 28
  • 1
    I think [this question](https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session) is basically asking the same you need. Take a look at the answers. There's possible to do it. Hope it helps. – Carlos Parra Apr 07 '18 at 22:26
  • @CarlosParra Thanks, but most answers use java and/or python. On .net `driver` properties, but URL are readonly. – fcm Apr 07 '18 at 23:37
  • Possible duplicate of [How can I reconnect to the browser opened by webdriver with selenium?](https://stackoverflow.com/questions/47861813/how-can-i-reconnect-to-the-browser-opened-by-webdriver-with-selenium) – undetected Selenium Apr 08 '18 at 06:59

0 Answers0