I thought I'd posted a reply to this over the weekend, but I suppose I
must not have.
Basically, the System.Diagnostics.Process object used to track the
Firefox process in the FirefoxDriver is an internal implementation
detail. I might be convinced that it should be exposed via a protected
property so that it could be accessed via a subclass, but please
realize that this is the first time anyone has asked for such a thing.
It's not part of the public cross-platform, cross-browser API, and as
such it is, and in my opinion ought to be, private.
I can forsee a day that we won't be using System.Diagnostics.Process
for tracking Firefox instances (cf. the new ChromeDriver checked into
the trunk of the project). In that instance, we would be put in the
untenable position of breaking an until-then public API because it
would no longer be applicable.
Regards,
--Jim
On Apr 18, 11:25 am, SeleniuMaddog <
madd0g.co...@gmail.com> wrote:
> QA_manager - if the information exists, why not make it public?
> I presume it is hidden because it is not possible to get this info on
> all platforms/browsers, but why not expose it where it exists?
>
> It'll take some for me to actually get to testing alternative methods
> of accomplishing this, because I currently have a working solution.
> But if anyone is interested - this is the path I would take:
>
> 1) Listing processes by title or other methods -
http://www.codeproject.com/KB/threads/ApplicationCheck_CS.aspx
> 2) Changing firefox title -
http://kb.mozillazine.org/Rebranding_Firefox
> > > > Bill- Hide quoted text -
>
> - Show quoted text -