Esempio n. 1
0
        /// <summary>
        /// Returns the scope of the &lt;html&gt; element (= the root scope) on the given window.
        /// </summary>
        public static ElementScope GetRootScope([NotNull] this BrowserWindow window)
        {
            ArgumentUtility.CheckNotNull("window", window);

            return(window.FindCss("html"));
        }