示例#1
0
        public void CurrentHandle()
        {
            WebDriver.SetupGet(x => x.CurrentWindowHandle).Returns(WindowHandles[0]);

            Actor.AsksFor(WindowHandle.Current()).Should().Be(WindowHandles[0]);
        }