How to run selenium python script in current window session? How to run selenium python script in current window session? selenium selenium

How to run selenium python script in current window session?


I've often wanted this functionality with Selenium and Python myself. Unfortunately, it's not part of Selenium's current features.

For more info, check out the answer threads here:

Can Selenium interact with an existing browser session?

(looks like someone came up with a hack solution, but I haven't tested it)

and here:

Can Selenium webdriver attach to already open browser window?

Good luck!