Package com.codeborne.selenide.appium
Class AppiumScrollOptions
java.lang.Object
com.codeborne.selenide.appium.AppiumScrollOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic AppiumScrollOptionsdown()static AppiumScrollOptionsdown(float topPointHeightPercent, float bottomPointHeightPercent) static AppiumScrollOptionsdown(int maxSwipeCount) float@Nullable org.openqa.selenium.WebElementintintDeprecated.floatinside(org.openqa.selenium.WebElement container) Perform scroll gestures inside the given element (e.g.toString()static AppiumScrollOptionsup()static AppiumScrollOptionsup(float topPointHeightPercent, float bottomPointHeightPercent) static AppiumScrollOptionsup(int maxSwipeCount) static AppiumScrollOptionswith(ScrollDirection scrollDirection, float topPointHeightPercent, float bottomPointHeightPercent) static AppiumScrollOptionswith(ScrollDirection scrollDirection, int maxSwipeCount)
-
Method Details
-
with
-
with
public static AppiumScrollOptions with(ScrollDirection scrollDirection, float topPointHeightPercent, float bottomPointHeightPercent) -
down
-
down
-
up
-
up
-
up
-
down
-
inside
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.UsegetMaxSwipeCount()instead -
getMaxSwipeCount
public int getMaxSwipeCount() -
getScrollDirection
-
getTopPointHeightPercent
public float getTopPointHeightPercent() -
getBottomPointHeightPercent
public float getBottomPointHeightPercent() -
getContainer
public @Nullable org.openqa.selenium.WebElement getContainer() -
toString
-
getMaxSwipeCount()instead