Class AppiumScrollOptions

java.lang.Object
com.codeborne.selenide.appium.AppiumScrollOptions

@ParametersAreNonnullByDefault public class AppiumScrollOptions extends Object
  • Method Details

    • with

      @Nonnull @CheckReturnValue public static AppiumScrollOptions with(ScrollDirection scrollDirection, int maxSwipeCount)
    • with

      @Nonnull @CheckReturnValue public static AppiumScrollOptions with(ScrollDirection scrollDirection, float topPointHeightPercent, float bottomPointHeightPercent)
    • down

      @Nonnull @CheckReturnValue public static AppiumScrollOptions down()
    • down

      @Nonnull @CheckReturnValue public static AppiumScrollOptions down(int maxSwipeCount)
    • up

      @Nonnull @CheckReturnValue public static AppiumScrollOptions up()
    • up

      @Nonnull @CheckReturnValue public static AppiumScrollOptions up(int maxSwipeCount)
    • up

      @Nonnull @CheckReturnValue public static AppiumScrollOptions up(float topPointHeightPercent, float bottomPointHeightPercent)
    • down

      @Nonnull @CheckReturnValue public static AppiumScrollOptions down(float topPointHeightPercent, float bottomPointHeightPercent)
    • getMaxSwipeCounts

      @CheckReturnValue @Deprecated public int getMaxSwipeCounts()
      Deprecated.
      Use getMaxSwipeCount() instead
    • getMaxSwipeCount

      @CheckReturnValue public int getMaxSwipeCount()
    • getScrollDirection

      @Nonnull @CheckReturnValue public ScrollDirection getScrollDirection()
    • getTopPointHeightPercent

      @CheckReturnValue public float getTopPointHeightPercent()
    • getBottomPointHeightPercent

      @CheckReturnValue public float getBottomPointHeightPercent()
    • toString

      public String toString()
      Overrides:
      toString in class Object