def mousePressEvent(self, event):
    if type(event) == QtGui.QMouseEvent:
        if event.button() == QtCore.Qt.LeftButton:
            pass
Is it possible to trigger a mousePressEvent artificially on a QWebView?