def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def quitDriver(self):
        self.driver.quit()
        self.driver = None