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