def __init__(self): url = "http://www.cnhsis.com.cn/xlcx.html" Base.__init__(self, url=url)
def __init__(self, driver): Base.__init__(self, driver)
def tbase(request): fixture = Base() # Doesn't work this finalazer, need to check later # request.addfinalazer(fixture.close_browser) return fixture