var login = "telecomadmin";
var password = "admintelecom";
instance.ActiveTab.Navigate("192.168.100.1");
System.Threading.Thread.Sleep(2500);
HtmlElement loginfield = instance.ActiveTab.FindElementByAttribute("input:text","id","txt_Username","text",0);
loginfield.SetAttribute("value",login);
HtmlElement passfield = instance.ActiveTab.FindElementByAttribute("input:password","id","txt_Password","text",0);
passfield.SetAttribute("value",password);
instance.ActiveTab.FindElementById("button").Click();
System.Threading.Thread.Sleep(1500);
HtmlElement tools = instance.ActiveTab.FindElementByAttribute("div","class","tabBtnCenter","regexp",10);
tools.Click();
System.Threading.Thread.Sleep(1500);
HtmlElement restartButton = instance.ActiveTab.FindElementByAttribute("input:button","id","btnReboot","text",0);
restartButton.Click();
System.Threading.Thread.Sleep(90000);