private Boolean CheckTrForLabel(string name) { Duration timeOut = new Duration(5000); Element lbSearched; var jest = _window.TryFindSingle(string.Format(".//label[@InnerText = '{0}']", name), timeOut, out lbSearched); return(jest); }
private Boolean CheckTrForLabel(string name) { Duration timeOut = new Duration(5000); Element lbSearched; var jest = _window.TryFindSingle(string.Format(".//label[@InnerText = '{0}']", name), timeOut, out lbSearched); return(jest); }