public ExceptionAnalysedPage(IElementFinder elementFinder, INavigationService navigationService) { var exceptionAnalyzedElementFinder = new ExceptionAnalyzedElementFinder( elementFinder as ExceptionAnalyzedElementFinder); var exceptionAnalyzedNavigationService = new ExceptionAnalyzedNavigationService( navigationService as ExceptionAnalyzedNavigationService, exceptionAnalyzedElementFinder.UiExceptionAnalyser); ExceptionAnalyser = exceptionAnalyzedElementFinder.UiExceptionAnalyser; ElementFinder = exceptionAnalyzedElementFinder; NavigationService = exceptionAnalyzedNavigationService; }
public ExceptionAnalyzedElementFinder(ExceptionAnalyzedElementFinder elementFinderDecorator) { UiExceptionAnalyser = elementFinderDecorator.UiExceptionAnalyser; ElementFinder = elementFinderDecorator.ElementFinder; }