protected override IMouse CreateMouse()
        {
            IApplicationWindowFinder windowFinder = new ApplicationWindowFinder();
            var mainWindow = windowFinder.FindWindow("Chrome_WidgetWin_1", ApplicationWindowFinder.Wildcard + " - Google Chrome");
            var viewport = mainWindow.FindChildWindow("Static");

            return new WindowRelativeMouse(mainWindow, viewport, new Mouse());
        }
 public void Before()
 {
     this.nativeMethodWrapper = A.Fake<INativeMethodWrapper>();
     this.windowFinder = new ApplicationWindowFinder(this.nativeMethodWrapper);
 }
        protected override IMouse CreateMouse()
        {
            IApplicationWindowFinder windowFinder = new ApplicationWindowFinder();

            var viewport = windowFinder.FindWindow("Chrome_WidgetWin_1", ApplicationWindowFinder.Wildcard + " - Google Chrome");

            return new WindowBoundMouse(viewport);
        }