#include <IE.au3>
$IE= _IECreate("https://buy.bitoptimizer.com/safecart/prebuy/index.php")
_IELoadWait ($IE)
$Form = _IEFormGetObjByName ($IE, "frmProductPrice")
$FirstnamePost = _IEFormElementGetObjByName ($Form, "firstname")
$Firstname =_IEFormElementSetValue ($FirstnamePost, "bys")
$LastnamePost = _IEFormElementGetObjByName ($Form, "lastname")
$Lastname =_IEFormElementSetValue ($LastnamePost, "qa")
;~ $Submit=_IEFormSubmit ($Form)
$Ele = _IEGetObjById($IE,"submit")
_IEAction($Ele,"click") ;点击
;~ msgbox("","",$Submit)
|