예제 #1
0
 public void ScrollPageByPixels(int numPixels)
 {
     ScrollingUtils.scrollUpOrDown(_driver, numPixels);
 }
예제 #2
0
        public void ScrollToElementBy(SelectorPathType selector, string path)
        {
            By elementBy = WebElementUtils.GetElementAsBy(selector, path);

            ScrollingUtils.scrollToElement(_driver, elementBy);
        }