Esempio n. 1
0
 public Session(Driver driver, RobustWrapper robustWrapper)
 {
     this.robustWrapper = robustWrapper;
     this.driver = driver;
     clicker = new Clicker(driver);
     urlBuilder = new UrlBuilder();
 }
Esempio n. 2
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);
 }