public async Task ZeroSizedDivIsShownIfDescendantHasSize()
        {
            await driver.GoToUrl(javascriptPage);

            IWebElement element = await driver.FindElement(By.Id("zero"));

            Size size = await element.Size();

            Assert.AreEqual(0, size.Width, "Should have 0 width");
            Assert.AreEqual(0, size.Height, "Should have 0 height");
            Assert.That(await element.Displayed(), Is.True);
        }
        public async Task TooSmallAWindowWithOverflowHiddenIsNotAProblem()
        {
            IWindow window       = driver.Options().Window;
            Size    originalSize = await window.GetSize();

            try {
                // Short in the Y dimension
                await window.SetSize(new Size(1024, 500));

                await driver.GoToUrl(EnvironmentManager.Instance.UrlBuilder.WhereIs("overflow-body.html"));

                IWebElement element = await driver.FindElement(By.Name("resultsFrame"));

                Assert.That(await element.Displayed(), Is.True);
            } finally {
                await window.SetSize(originalSize);
            }
        }