protected EShopPage() { ElementFindService = LoggingSingletonDriver.Instance; SearchSection = new SearchSection(LoggingSingletonDriver.Instance); MainMenuSection = new MainMenuSection(LoggingSingletonDriver.Instance); CartInfoSection = new CartInfoSection(LoggingSingletonDriver.Instance); }
protected EShopPage(IElementFindService elementFindService) { ElementFindService = elementFindService; SearchSection = new SearchSection(elementFindService); MainMenuSection = new MainMenuSection(elementFindService); CartInfoSection = new CartInfoSection(elementFindService); }
public CartPage(IElementFindService elementFindService, INavigationService navigationService, IBrowserService browserService) : base(elementFindService, navigationService) { _browserService = browserService; BreadcrumbSection = new BreadcrumbSection(elementFindService); CartPageElements = new CartPageElements(elementFindService); }
protected NavigatableEShopPage(IElementFindService findService, INavigationService navigationService) { _navigationService = navigationService; SearchSection = new SearchSection(findService); MainMenuSection = new MainMenuSection(findService); CartInfoSection = new CartInfoSection(findService); }
public CartPageElements(IElementFindService driver) => _driver = driver;
public BreadcrumbSection(IElementFindService driver) { _driver = driver; }
public static Element CreateByIdContaining(this IElementFindService findService, string idContaining) { return(findService.Find <ByIdContainingStrategy, Element>(idContaining)); }
public MainPageElements(IElementFindService driver) => _driver = driver;
public CartInfoSection(IElementFindService driver) { _driver = driver; }
public MainMenuSection(IElementFindService driver) { _driver = driver; }
public SearchSection(IElementFindService driver) { _driver = driver; }
public static Element CreateByIdContaining(this IElementFindService findService, string idContaining) { return(findService.Find(new IdContainingFindStrategy(idContaining))); }
public MainPage(IElementFindService elementFindService, INavigationService navigationService) : base(elementFindService, navigationService) { Elements = new MainPageElements(elementFindService); Assertions = new MainPageAssertions(Elements); }
protected NavigatableEShopPage(IElementFindService findService, INavigationService navigationService) : base(findService) { _navigationService = navigationService; }