I need to enter a protected website. Security requires a username and password, but with graphical components of Windows (no web code, like upload a file for example).
To skip this step, I coded a small Awt.Robot, which find and valid the 'pop-up' windows.
So I am with a web page open in the expected state.
How can I regain control, from this state, with WebDriver?
some kind of :
driver FirefoxDriver = new FireFoxDriver(); driver.get (page already open without modification and authentification);
Ideas?
To answer your question, it's not possible to take control of the already existing browser instance.
Some discussions: