procedure TForm1.Button3Click(Sender: TObject);
var
TAROBJ:OLEVARIANT;
i:integer;
begin
TarOBJ:= WebBrowser1.OleObject.Document;
for i:= 0 to TarOBJ.All.Length - 1 do
begin
if (TarOBJ.all.item(i).tagname = 'INPUT')and(TarOBJ.all.item(i).type='submit') then
begin
TarOBJ.all.item(i).Click;
end;
end;
end;