def tearDown(self): home = HomePage(self.driver) home.logout() self.logger.info("Logging out of the Digitplus portal")