Searched refs:maxScrolls (Results 1 – 1 of 1) sorted by relevance
42 private final int maxScrolls; field in StepBasedScroller61 public StepBasedScroller(int maxScrolls, long perScrollTimeoutMillis, Axis axis, in StepBasedScroller() argument63 this.maxScrolls = maxScrolls; in StepBasedScroller()89 for (; i <= maxScrolls; i++) { in scrollTo()94 if (i < maxScrolls && !scrollStepStrategy.scroll(driver, containerFinder, direction)) { in scrollTo()101 if (i == maxScrolls) { in scrollTo()107 containerFinder, maxScrolls, scrollStepStrategy); in scrollTo()148 for (int i = 0; i < maxScrolls; i++) { in scrollTo()