Sign in to follow this  
Followers 0
tifrice

Internet Explorer And Firefox

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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