'Check if the page is scrolled down.'

def check_scrolled(self):

    frame = self.js.webview.page().mainFrame()
    minimum = frame.scrollBarMinimum(Qt.Vertical)
    value = frame.scrollBarValue(Qt.Vertical)
    assert (value > minimum)
