Sign in to follow this  
Followers 0
Brickoneer

firefox... is there any way to automate it?

12 posts in this topic

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



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

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

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

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

#6 ·  Posted (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 by Brickoneer

Share this post


Link to post
Share on other sites

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

Many mmorpg/mmog gamese are written in PHP... an example: here

Anyway... 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

Many mmorpg/mmog gamese are written in PHP... an example: here

Anyway... there currently isn't anything that gives the same level of control for FF as the IE functions (for IE) is there?

Thanks,

Brick

No. 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

Ok, thanks!

Share this post


Link to post
Share on other sites

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...1ec51575e60a484

It 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

#12 ·  Posted (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 by zfisherdrums

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0