📅  最后修改于: 2022-03-11 14:59:39.659000             🧑  作者: Mango
Hooks class is used to create pre and post condition f
or scenarios and even steps.
@Before, @BeforeStep -> webdriver setup,
maximize browser, database connection setup
@After @AfterStep -> we can close any connection we open.(driver, browser)