'Save results as a new output XML file.
:param path: Path to save results to. If omitted, overwrites the
original file.'

def save(self, path=None):

    from robot.reporting.outputwriter import OutputWriter
    self.visit(OutputWriter((path or self.source)))
