Re: Firefox COM object

From: Date: Mon, 16 May 2005 18:54:22 +0000
Subject: Re: Firefox COM object
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-215317@lists.php.net to get a copy of this message
Dang Nguyen wrote:
Hello, I would like to write some PHP scripts to automate web testing. I already have a framework that uses the COM class to automate the tests in IE. Now, I'd like to port that code so that I can test the same web pages in FireFox or Mozilla browsers. I haven't been able to locate any documentation or otherwise regarding this matter. Does Firefox have any COM interface like IE does? Cheers, Dang Nguyen
Firefox makes use of Cross Platform COM, aka XPCOM. Now when I first read your question I didn't know what the answer was, but heck I was interested enough that I actually got off my lazy butt and searched for this one. A nice discussion here: http://forums.mozillazine.org/viewtopic.php?t=266661&highlight=automated+test http://www.iol.ie/~locka/mozilla/control.htm I haven't tried it, but it looks like you can use some of your pre-exisitng code to test pages in Firefox as well. <not_so_subtle_hint>By the way, other people might find your code useful as well.</not_so_subtle_hint>

« previous php.general (#215317) next »