Title: how to press button in the web page
Question: don't know how to press button in the wb page?i will say.
Answer:
var
form,
doc,
element : variant;
elLength,
formLength : integer;
begin
doc := embeddedwb1.oleobject.document;
for formLength := 0 to doc.Forms.Length-1 do
begin
form := doc.Forms.Items(formLength);
for elLength := 0 to form.elements.Lenght-1 do
begin
element := form.Elements.Items(eilLength);
if element.type = 'submit' then
element.click;
end;
end;
end;