예제 #1
0
def toIdc(page: Page):
    then(page.goto("http://idcenter.box.zonghengke.com"))
    if len(then(page.JJ("#in_user_Nm"))) > 0:
        then(page.type("#in_user_Nm", "gaowenbo"))
        then(page.type("#in_password", "YKUacrVjlfoR"))
        then(page.click("#sign_in"))
예제 #2
0
def toCe(page: Page):
    toIdc(page)
    then(page.goto("http://cloudengine.yunzong.me:10470"))
예제 #3
0
def toIdc(driver: page.Page):
    driver.goto("https://www.baidu.com")