I need automatically fill in web forms, fill in the fields, perform the functions of the buttons,
logging in automatically on a page.
must also read the result of a form.
In Delphi i use the TWebBrowser that does the job perfectly.
I'm having trouble using the TUniURLFrame. someone help me, or know if it is possible to do this with TUniURLFrame?
In Delphi with TWebBrowser works well:
sample:
PROCEDURE TForm1.Button1Click(Sender: TObject);
VAR
Doc3: IHTMLDocument3;
BEGIN
WebBrowser1.Navigate('https://pt-br.facebook.com/');
Doc3 := Webbrowser1.Document AS IHTMLDocument3;
Doc3.getElementById('email').setAttribute('value', 'neto@hotmail.com', 0);
Doc3.getElementById('pass').setAttribute('value', 'pAsswOrd', 0);
WebBrowser1.OleObject.Document.all.Item('loginbutton', 0).click;
WebBrowser1.Silent;
END;
Anyone have any idea how to do this UniGUI?