Justin
Justin

Reputation: 3

Get current opened browser window in selenium 2 (WebDriver)

I am using selenium 2 (WebDriver) now and I would like to get the control of current opened browser window instead of open a new one. That means I can't use driver.get("url") which is showed in all online documents. Could anyone help?

FYI, I am using Python binding of selenium and firefox. Thanks.

Upvotes: 0

Views: 2353

Answers (1)

AutomatedTester
AutomatedTester

Reputation: 22418

Unfortunately you can't connect to an open browser at the moment. There is an open bug for WebDriver to support that

Upvotes: 0

Related Questions