How can I get the maximum and current value of the verticalScrollBar when displaying html with QWebEngineView
问题 I'm attempting to create a UI in Maya (Python 2.7.11 and Maya Qt 5.6.1. and PySide2) where the OK button is grayed out until the user scrolls to the bottom. I can do this easily with QTextEdit by grabbing the value and maximum from the verticalScrollBar but I can't seem to find similar objects in QWebEngineView or QWebEnginePage. Any Ideas? 回答1: In the case you want to get some information from the DOM you have to do it with javascript, in this case we will create an object that will have the