Brickoneer 0 Posted September 19, 2007 Hey, I'm writing a script that automates an online game, but a majority of players use firefox. Is there any way to use the IE functions with firefox? Or am I stuck with basic send commands, mouse movements and pixel searches? Or is there something else that is firefox compatible? Thanks for your time! Brick Share this post Link to post Share on other sites
weaponx 16 Posted September 19, 2007 Flash works the same in IE as it does in FF, what are you expecting to gain? Share this post Link to post Share on other sites
Brickoneer 0 Posted September 19, 2007 Flash works the same in IE as it does in FF, what are you expecting to gain?I'm not quite sure I understand, but the game is not in flash.Thanks for the fast reply!Brick Share this post Link to post Share on other sites
Nahuel 1 Posted September 19, 2007 I believe I saw someone who posted a few UDF's in the example forum. Use the search button. Share this post Link to post Share on other sites
weaponx 16 Posted September 19, 2007 Well the game isn't written in html, its either Flash / Shockwave or Java, all of which work similarly across different browsers. Share this post Link to post Share on other sites
Brickoneer 0 Posted September 19, 2007 (edited) I did search, but I'll try again. Thanks, Brick [edit] no... it is in PHP, not flash/java. Thanks for the reply! Edited September 19, 2007 by Brickoneer Share this post Link to post Share on other sites
weaponx 16 Posted September 19, 2007 I am a PHP programmer. I doubt you are playing a game written in PHP, unless it is PHP Zork or some other text based game. Share this post Link to post Share on other sites
Brickoneer 0 Posted September 19, 2007 Many mmorpg/mmog gamese are written in PHP... an example: hereAnyway... there currently isn't anything that gives the same level of control for FF as the IE functions (for IE) is there?Thanks,Brick Share this post Link to post Share on other sites
PsaltyDS 41 Posted September 19, 2007 Many mmorpg/mmog gamese are written in PHP... an example: hereAnyway... there currently isn't anything that gives the same level of control for FF as the IE functions (for IE) is there?Thanks,BrickNo. Firefox does not expose a COM interface to its objects the way IE does. IE people feel that exposure makes it easier to script and automate things, which is true. Firefox people feel it opens many security holes and invites malicious exploitation, which is also true.To automate things in Firefox, you will have to do it "from the inside" by extensions, widgets, and addons inside Firefox itself written in XUL. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
wedsxcrfv 0 Posted November 19, 2007 I know its a bit strange to post...But i found that some German people made a Firefox include file to control it, you just install an add-on and the include the file and then you can control firefox!Heres the link: http://64.233.179.104/translate_c?hl=en&am...1ec51575e60a484It is google translated I am not English... But that matters nothing, I'm Dutch and i SPEAK English so it doesnt matter :P Share this post Link to post Share on other sites
zfisherdrums 5 Posted November 19, 2007 (edited) Hello 'Brickoneer',For automating FireFox, I would suggest the following:FireWATiR is an implementation of WATiR ( Web Application Testing in Ruby ) for FireFox. According to one of the authors of WATiR, the path FireWatir has taken has been very divergent; your mileage may vary.The other is Selenium. From the OpenQA page you can download several different flavors of Selenium. Try Selenium IDE first. It provides a FireFox extension that gives you record-and-playback functionality. From there, you can save your tests/automations in Selenese, HTML, Ruby, C#, Java, etc. I highly recommend this be your first stop.Zach... Edited November 19, 2007 by zfisherdrums Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Share this post Link to post Share on other sites