Использую в шаблоне метод эмуляции движения мыши на С#:
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("div", "class", "main", "regexp", 0);
if (he.IsVoid) return -1;
instance.ActiveTab.FullEmulationMouseMoveToHtmlElement(he);
В таком виде всё работает...