public abstract static class Scrollers.ProgressBarScrollStepStrategy extends ForwardingScrollStepStrategy
ScrollStepStrategy
- after a successful
scroll, waits until ProgressBar is gone.Constructor and Description |
---|
ProgressBarScrollStepStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
scroll(DroidDriver driver,
Finder containerFinder,
Direction.PhysicalDirection direction)
Tries to scroll
containerFinder in direction . |
static ScrollStepStrategy |
wrap(ScrollStepStrategy delegate)
Convenience method to wrap
delegate with this class |
beginScrolling, delegate, doScroll, endScrolling, getDirectionConverter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public boolean scroll(DroidDriver driver, Finder containerFinder, Direction.PhysicalDirection direction)
ScrollStepStrategy
containerFinder
in direction
. Returns whether scrolling is
effective.scroll
in interface ScrollStepStrategy
scroll
in class ForwardingScrollStepStrategy
driver
- a DroidDriver instancecontainerFinder
- Finder for the container that can scroll, for instance a ListViewdirection
- specifies where the view port will move instead of the fingerpublic static ScrollStepStrategy wrap(ScrollStepStrategy delegate)
delegate
with this class