ScrollToElementAsync
Description: the method scrolls to the specified element (the behavior Smooth parameter determines the smoothness of scrolling)
Syntax: ScrollToElementAsync(string by, string locator, bool behaviorSmooth = false)
Return value: no return value
Example:
FRAMEElement frame = await tester.GetFrameAsync(0);
await frame.ScrollToElementAsync(Tester.BY_CSS, "body > footer", true);
await frame.ScrollToElementAsync(Tester.BY_XPATH, "/html/body/footer", true);
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?