Puoi utilizzare il componente TWebBrowser(Internet palette) per caricare la pagina desiderata:
codice:
var
dom: mshtml_TLB.ihtmlDocument3;
element: mshtml_TLB.IHTMLInputElement;
begin
WebBrowser1.Navigate('www.google.it');
while WebBrowser1.ReadyState <> READYSTATE_COMPLETE do
begin
Application.ProcessMessages;
Sleep(0);
end;
dom:=self.WebBrowser1.Document as IhtmlDocument3;
//una volta caricato il dom,ti basta utilizzare
//le funzioni offerte dalla libreria MSHTML per utilizzare gli elementi della pagina
if not VarSupports(dom.getElementsByName('btnG').item('btnG',0), IHTMLInputElement, element)then
exit;
showMessage(element.value);
end;
Per utilizzare la libreria MSHTML_TLB ti basta fare:
Component -> Import ActiveX Control -> Seleziona "Microsoft HTML Object library" -> Premi su "Installa".