How to Scrollswipe Instagram Videos Programmatically From Pyqt6

Greg built a quick demo application https://github.com/gregbci/PyQtWeb.

event = QKeyEvent(QEvent.Type.KeyPress, Qt.Key.Key_Down, Qt.KeyboardModifier.NoModifier)
QCoreApplication.sendEvent(self.webEngineView.focusProxy(), event)
QCoreApplication.processEvents()

This is Qt code for a video player that accesses videos locally downloaded: https://doc.qt.io/qtforpython-6/examples/example_multimedia_player.html

In essence: reels don’t play and I haven’t figured out how to scroll through them with an artificial keypress event.