def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def quitDriver(self):
        self.driver.quit()
        self.driver = None