public void CurrentHandle() { WebDriver.SetupGet(x => x.CurrentWindowHandle).Returns(WindowHandles[0]); Actor.AsksFor(WindowHandle.Current()).Should().Be(WindowHandles[0]); }