Class AppiumScrollOptions

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

public class AppiumScrollOptions extends Object
  • Method Details

    • with

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

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

      public static AppiumScrollOptions down()
    • down

      public static AppiumScrollOptions down(int maxSwipeCount)
    • up

      public static AppiumScrollOptions up()
    • up

      public static AppiumScrollOptions up(int maxSwipeCount)
    • up

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

      public static AppiumScrollOptions down(float topPointHeightPercent, float bottomPointHeightPercent)
    • inside

      public AppiumScrollOptions inside(org.openqa.selenium.WebElement container)
      Perform scroll gestures inside the given element (e.g. a scrollable list) instead of the whole screen. Top/bottom point percentages are then calculated relative to the element's height.
    • getMaxSwipeCounts

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

      public int getMaxSwipeCount()
    • getScrollDirection

      public ScrollDirection getScrollDirection()
    • getTopPointHeightPercent

      public float getTopPointHeightPercent()
    • getBottomPointHeightPercent

      public float getBottomPointHeightPercent()
    • getContainer

      public @Nullable org.openqa.selenium.WebElement getContainer()
    • toString

      public String toString()
      Overrides:
      toString in class Object