HtmlElement he = instance.ActiveTab.FindElementByAttribute("input", "name", "login", "text", 0);
HtmlElement he2 = instance.ActiveTab.FindElementByAttribute("input", "name", "password", "text", 0);
HtmlElement he3 = instance.ActiveTab.FindElementByAttribute("button", "class", "b-authorize-form__submit-btn", "text", 0);
if (he.IsVoid) return -1;
// Задержка эмуляции
instance.WaitFieldEmulationDelay();
// Установить элементу значение "qwerty"
he.SetValue("[email protected]", instance.EmulationLevel, false);
he2.SetValue("0123456789", instance.EmulationLevel, false);
he3.Click();