def METHOD_NAME(qobj, pos=None, offset=None, modifier=QtCore.Qt.NoModifier, timeout=100):
    geom = qobj.geometry()
    if pos is None:
        x = int(geom.width() * random.uniform(0.2, 0.8))  # avid to click on the edge of widgets
        y = int(geom.height() * random.uniform(0.2, 0.8))
        pos = QtCore.QPoint(x, y)
    if offset is not None:
        pos += offset
    QTest.mouseClick(qobj, QtCore.Qt.LeftButton, modifier=modifier, pos=pos)
    # print(pos.x(), pos.y())
    QTest.qWait(timeout)  # wait for things to happen on gui