/// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="element">An element representing a content region.</param>
        /// <param name="elements">One or more elements, each representing a content region.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(IWebElement element, params IWebElement[] elements)
        {
            SeleniumCheckSettings clone = Clone_();

            clone.Content_(new SimpleRegionByElement(element));
            foreach (IWebElement elem in elements)
            {
                clone.Content_(new SimpleRegionByElement(elem));
            }
            return(clone);
        }
        /// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="selector">A selector representing a content region.</param>
        /// <param name="selectors">One or more selectors representing content regions.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(By selector, params By[] selectors)
        {
            SeleniumCheckSettings clone = Clone_();

            clone.Content_(new SimpleRegionBySelector(selector));
            foreach (By sel in selectors)
            {
                clone.Content_(new SimpleRegionBySelector(sel));
            }
            return(clone);
        }
        /// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="element">An element representing a content region.</param>
        /// <param name="elements">One or more elements, each representing a content region.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(IWebElement element, params IWebElement[] elements)
        {
            SeleniumCheckSettings clone = Clone_();

            clone.Content_(new SimpleRegionByElement(element));
            clone.fluentCode_.Append($".{nameof(Content)}({element}");
            foreach (IWebElement elem in elements)
            {
                clone.Content_(new SimpleRegionByElement(elem));
                clone.fluentCode_.Append($", {elem}");
            }
            clone.fluentCode_.Append(")");
            return(clone);
        }
        /// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="selector">A selector representing a content region.</param>
        /// <param name="selectors">One or more selectors representing content regions.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(By selector, params By[] selectors)
        {
            SeleniumCheckSettings clone = Clone_();

            clone.Content_(new SimpleRegionBySelector(selector));
            clone.fluentCode_.Append($".{nameof(Content)}({selector}");
            foreach (By sel in selectors)
            {
                clone.Content_(new SimpleRegionBySelector(sel));
                clone.fluentCode_.Append($", {sel}");
            }
            clone.fluentCode_.Append(")");
            return(clone);
        }
        /// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="elements">An enumerbale of elements, each representing a content region.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(IEnumerable <IWebElement> elements)
        {
            SeleniumCheckSettings clone = Clone_();

            foreach (IWebElement elem in elements)
            {
                clone.Content_(new SimpleRegionByElement(elem));
            }
            return(clone);
        }
        /// <summary>
        /// Adds one or more content regions.
        /// </summary>
        /// <param name="selectors">An enumerbale of selectors representing content regions.</param>
        /// <returns>An updated clone of this settings object.</returns>
        public SeleniumCheckSettings Content(IEnumerable <By> selectors)
        {
            SeleniumCheckSettings clone = Clone_();

            foreach (By sel in selectors)
            {
                clone.Content_(new SimpleRegionBySelector(sel));
            }
            return(clone);
        }