📜  python selenium 拆解类 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:45.777000             🧑  作者: Mango

代码示例1
# 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()