def get_anchors(): result = ipc.send('{"f":"dom","args":"' + text + '","child":"anchors"}') return result
def getElementById(element): result = ipc.send('{"f":"dom","args":"' + element + '","child":"gebi"}') return result
def error ( text:str = "") : ''' Outputs an error message. ''' ipc.send('{"f":"err","args":"' + text + '"}')
def warn ( text:str = "") : ''' Outputs a warning message. ''' ipc.send('{"f":"warn","args":"' + text + '"}')
def log ( text:str = "") : ''' For general output of logging information. ''' ipc.send('{"f":"log","args":"' + text + '"}')
def info ( text:str = "") : ''' Informative logging of information. ''' ipc.send('{"f":"info","args":"' + text + '"}')