Jump to content

Internet Explorer And Firefox


tifrice
 Share

Recommended Posts

I have a script which works with Internet Explorer and I would like to make it work with Firefox?

;Ouverture de la page Web

#include <IE.au3>

$oIE = _IECreate ("http://57.210.211.247/voipvpnMgt/LoginPage.do")

sleep(1000)

;Remplir le 1er champ

$oForm = _IEFormGetObjByName ($oIE, "LoginForm")

$oQuery1 = _IEFormElementGetObjByName ($oForm, "login")

_IEFormElementSetValue ($oQuery1, "***")

sleep(1000)

;Remplir le second champ

$oQuery2 = _IEFormElementGetObjByName ($oForm, "password")

_IEFormElementSetValue ($oQuery2, "***")

sleep(1000)

;Valider

_IEFormSubmit ($oForm)

Edited by tifrice
Link to comment
Share on other sites

  • Developers

I have a script which works with Internet Explorer and I would like to make it work with Firefox?

The _IE* functions ONLY work with InternetExplorer and I haven't seen anybody post anything that works with FireFox yet..

:P

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...