python selenium teardown class code example
Example: python selenium teardown class
# if you're using teardownClass, make sure to have a @classmethod for it. :)
@classmethod
def tearDownClass(cls):
cls.driver.implicitly_wait(10)
print(" --- Tests Completed --- ")
cls.driver.close()