Jump to content

IE click button not work


Recommended Posts

Hi
I am using google translator, so there is nothing wrong with it
I have done the code to interact with facebook via the IE library but it doesn't work on the last few lines so please help me
This is my code

#include<IE.au3>



Call ("signin")
Func signin ()

Global $son = _IECreate("https://mbasic.facebook.com/help/contact/255904741169641", 0, 1, 1)

Local $button1 = _IEGetObjByid($son,"261033887423161.1")
_IEAction ($button1,"click")

 Local $button2 = _IEGetObjByName($son,"button_val[Next]")
 _IEAction ($button2,"click")
 _IELoadWait($son)
 Local $email = _IEGetObjByName ($son,"email")
 Local $thongtin = _IEGetObjByName ($son,"details")
 Local $ten = _IEGetObjByName ($son,"full_name")
 Local $tick = _IEGetObjByName ($son,"Field153787988085868[]")
 Local $namsinh = _IEGetObjByName ($son,"dob[year]")
 Local $thangsinh = _IEGetObjByName ($son,"dob[month]")
 Local $ngaysinh = _IEGetObjByName ($son,"dob[day]")
 Local $button3 = _IEGetObjByName ($son,"button_val[Next]")
 Local $button4 = _IEGetObjByName ($son,"button_val[Submit]")





 _IEFormElementSetValue ($email,"nts.clone.01@gmail.com")
 _IEFormElementSetValue ($thongtin,"sondeptrai")
 _IEFormElementSetValue ($ten,"Nguyen Truong Son")
 _IEFormElementSetValue ($namsinh,"1990")
 _IEFormElementSetValue ($thangsinh,"12")
 _IEFormElementSetValue ($ngaysinh,"12")
 _IEAction ($tick,"click")
 _IEAction ($button3,"click")
 _IELoadWait($son)
 _IEAction ($button4,"click")


EndFunc

 

Link to comment
Share on other sites

1 hour ago, faustf said:

i belive  but  i am not  sure  you can control by google  , facebook have  API  i think is  much faster and stable  if  you use  them

api does not have :(

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