Hello,
We're evaluating Selenium for our company's use, but the feature of
attaching to an already opened browser (currently only IE) seems to be
lacking.
I'd been some digging and found that:
1. This is already a requested item (Issue #18)
2. I may able to add this feature myself, after going a bit over the
architecture of some components.
More specifically, it seems that the *IECommandExecutor *type has a private
method called *AddManagedBrowser*. This is called after launching a new
browser to register its details.
Suppose this method was available publicly, i could invoke it to register
my own browsers (by supplying their own PID, constructing a *BrowserHandle *object
around it).
Can this technique work? Has anyone tried it or has any comments on that?
Thanks
Lior