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