Exemple #1
0
 internal Session(Driver driver, RobustWrapper robustWrapper, Waiter waiter, RestrictedResourceDownloader _restrictedResourceDownloader, UrlBuilder urlBuilder)
 {
     this.driver        = driver;
     this.robustWrapper = robustWrapper;
     this.restrictedResourceDownloader = _restrictedResourceDownloader;
     clicker           = new Clicker(driver, waiter);
     this.urlBuilder   = urlBuilder;
     temporaryTimeouts = new TemporaryTimeouts();
     stateFinder       = new StateFinder(robustWrapper, temporaryTimeouts);
 }
Exemple #2
0
 public StateFinder(RobustWrapper robustWrapper, TemporaryTimeouts temporaryTimeouts)
 {
     this.robustWrapper     = robustWrapper;
     this.temporaryTimeouts = temporaryTimeouts;
 }