def __init__(self, driver): self.ha = Action(driver) self.driver = driver self.he = Excel_handle()
def __init__(self): self.driver = webdriver.Chrome() self.ha = Action(driver=self.driver)
def __init__(self): self.ac = Action() self.sess = requests.Session()
def setUp(self): self.driver = webdriver.Chrome() self.he = Excel_handle() self.ha = Action(self.driver)