/// <summary> /// Returns the scope of the <html> 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")); }