ScrollToElementAsync
Description: the method scrolls to the specified element (the behaviorSmooth parameter determines the smoothness of scrolling)
Syntax:
ScrollToElementAsync(string by, string locator, bool behaviorSmooth = false)
ScrollToElementAsync(Locator locator, bool behaviorSmooth = false)
Return value: no return value
Example:
await tester.ScrollToElementAsync(Tester.BY_CSS, "body > footer", true);
await tester.ScrollToElementAsync(Tester.BY_XPATH, "/html/body/footer", true);
await tester.ScrollToElementAsync(tester.GetLocator("locatorName"), true);
Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation