Exemplo n.º 1
0
        /// <summary>
        /// Get the title of the page
        /// Will throw a warning but not an error
        /// </summary>
        /// <returns></returns>
        public string GetTitle()
        {
            string text;

            try
            {
                text = selenium.GetTitle();
                return(text);
            }
            catch// (Exception)
            {
                ErrorReport("Title Of the Page", CheckType.Warning);
                return(null);
            }
        }