Hi,
is there any method for Scroll till element displayed in appium studio in Java?
Hi,
is there any method for Scroll till element displayed in appium studio in Java?
See documentation for swipeWhileElementNotFound
https://docs.experitest.com/display/TD/SeeTestAutomation-+SwipeWhileNotFound
what would be the import for this in eclipse IDE
import com.experitest.appium.SeeTestClient
There is also a way to do this w/o the SeeTestClient. Check out the documentation located at:
https://docs.experitest.com/display/TD/Additional+Commands
Try using following code for ScrollTo element…
public static void ScrollTo(IWebElement element)
{
IJavaScriptExecutor js = (IJavaScriptExecutor)AppiumDriver.Instance;
string title = (string)js.ExecuteScript(“arguments[0].scrollIntoView(true);”, element);
}
More info visit:
You can use below mentioned Method which is present Appium studio
swipeWhileElementNotFound
swipeWhileElementNotFound
can’t be found anywhere on the internet. Apart from this one place.
This link works for you https://docs.experitest.com/display/TE/SeeTest+Client++-+ElementSwipeWhileNotFound ?