Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
 
PREVIOUS NEXT
Tagged: #python #selenium #teardown #class
ADD COMMENT
Topic
Name
9+2 =