<div class="add_friend blue_button">Нажать</div> Dear, tell me how to click on the diva?
lnks := (WebBrowser1.Document as IHTMLDocument2).links; for i := 0 to lnks.length - 1 do begin lnk := lnks.item(varEmpty, OleVariant(i)) as IHTMLElement; if lnk.className = 'add_friend' then begin lnk.click; end; end; This code is missing from sight.