Ejemplo n.º 1
0
        public bool IsPresent <T>(string logicalName, int waitBeforeCheck, int timeout) where T : WebControl
        {
            Thread.Sleep(waitBeforeCheck);

            T Ctrl = null;

            if (null == thisWebDriver.WaitForControl <T>(thisGuiMapPath, logicalName,
                                                         timeout))
            {
                return(false);
            }

            return(true);
        }