Jump to content

Firefox


smita
 Share

Recommended Posts

This is the script for login screen which will open in Internet Explorer , If I want to open this in the Firefox how to do ?

#include <IE.au3>

$oIE = _IECreate ("http://12.44.178.188/login.php",0,1,1)

$oForm = _IEFormGetCollection ($oIE, 0)

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

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

$osignin = _IEFormElementGetObjByName ($oForm, "btnconnect")

$USERNAME = 'admin'

$PASSWORD = 'admin'

_IEFormElementSetValue($oLogin,$USERNAME)

_IEFormElementSetValue($oPass,$PASSWORD)

_IEAction($osignin,"click")

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