public override void ElementRun(IRootElement root, IWebBrowser browser, ITestElement elem) { var active = browser.ActiveElement(); if (!active.IsSame(elem)) { elem.Click(); WaitClient(); } elem.TypeText(Text); }