'sendlineafter(delim, data, timeout = default) -> str
A combination of ``recvuntil(delim, timeout)`` and ``sendline(data)``.'

def sendlineafter(self, delim, data, timeout=default):

    res = self.recvuntil(delim, timeout)
    self.sendline(data)
    return res
