public ArticlePage(IWindowMaximizer windowMaximizer,
                    IWebElementsFinder elementsFinder,
                    IScreenshotMaker screenshotMaker,
                    IWebPageScroller pageScroller)
     : base(windowMaximizer, elementsFinder, screenshotMaker)
 {
     this.pageScroller = pageScroller ?? throw new ArgumentNullException(ExceptionConstants.PAGE_SCROLLER);
 }
Ejemplo n.º 2
0
 public DotNetFrameworkPage(IWindowMaximizer windowMaximizer,
                            IWebElementsFinder elementFinder,
                            IScreenshotMaker screenshotmaker,
                            IWebPageScroller pageScroller,
                            IMouseActionsBuilder mouseActions)
     : base(windowMaximizer, elementFinder, screenshotmaker)
 {
     this.pageScroller = pageScroller ?? throw new ArgumentNullException(ExceptionConstants.PAGE_SCROLLER);
     this.mouseActions = mouseActions ?? throw new ArgumentNullException(ExceptionConstants.MOUSE_ACTIONS);
 }
Ejemplo n.º 3
0
 public ArticlePage(IWebElementsFinder elementsFinder,
                    IScreenshotMaker screenshotMaker,
                    IWebPageScroller pageScroller,
                    IMouseActionsBuilder mouseActions)
 {
     this.elementsFinder  = elementsFinder ?? throw new ArgumentNullException(ExceptionConstants.ELEMENT_FINDER);
     this.screenshotMaker = screenshotMaker ?? throw new ArgumentNullException(ExceptionConstants.SCREENSHOT_MAKER);
     this.pageScroller    = pageScroller ?? throw new ArgumentNullException(ExceptionConstants.PAGE_SCROLLER);
     this.mouseActions    = mouseActions ?? throw new ArgumentNullException(ExceptionConstants.MOUSE_ACTIONS);
 }
 public HomePage(IWindowMaximizer windowMaximizer,
                 IWebElementsFinder elementsFinder,
                 IScreenshotMaker screenshotMaker,
                 IWebPageNavigator pageNavigator,
                 IWebPageScroller pageScroller,
                 IMouseActionsBuilder mouseActions)
     : base(windowMaximizer, elementsFinder, screenshotMaker)
 {
     this.pageNavigator = pageNavigator ?? throw new ArgumentNullException(ExceptionConstants.PAGE_NAVIGATOR);
     this.pageScroller  = pageScroller ?? throw new ArgumentNullException(ExceptionConstants.PAGE_SCROLLER);
     this.mouseActions  = mouseActions ?? throw new ArgumentNullException(ExceptionConstants.MOUSE_ACTIONS);
 }