/// <summary> /// Click on Item Remove link /// </summary> public void ClickRemove(int Itemno) { Itemno = Itemno - 1; string ItemId = "ctl0" + Itemno.ToString(); By ByRemoveItem_Link = By.Id((ControlPrefix + "RepeaterTestItemsLinkedToPassage_" + ItemId + "_LinkButtonUnLink")); WebElementWrapper RemoveItem_Link = new WebElementWrapper(ByRemoveItem_Link); RemoveItem_Link.InitializeWebElement(); RemoveItem_Link.Wait(3).Click(); }