I would like to know how to pass self.driver of conftest (pytest) in another Class ?
Class A(): def setUp(): self.driver = webdriver.Remote("xxxxx") def teardown(): self.driver.quit() Class B(): # How use self.driver ?????
Aucun commentaire:
Enregistrer un commentaire