Пример #1
0
        /// <summary>
        /// Uncheck a checkbox
        /// </summary>
        /// <param name="controlId">ID of the checkbox</param>
        /// <param name="useSitemapId">By default element id will be picked from sitemaps, false to use the control Id directly</param>
        /// <param name="sourceType">Default mentions the element is of Id type</param>
        public void Uncheck(string controlId, bool useSitemapId = true, FindType sourceType = FindType.ById)
        {
            string locator = useSitemapId == true?_siteMapData.GetLocator(controlId, out sourceType) : controlId;

            _client.Uncheck(locator, sourceType);
        }