def run(driver, username, password, campus, reason, destination, track, habitation, district, street):
    login(driver, username, password)
    print('=================================')
    go_to_application_out(driver)
    fill_out(driver, campus, reason, destination, track)
    print('=================================')
    go_to_application_in(driver)
    fill_in(driver, campus, reason, habitation, district, street)
    print('=================================')
    screen_capture(driver)
    print('=================================')
    ret = mail()
    if ret:
        print('邮件发送成功')
    else:
        print('邮件发送失败')
    print('可以愉快的玩耍啦！')
def run(driver, username, password, campus, reason, destination, track, habitation, district, street):
    login(driver, username, password)
    print('=================================')
    go_to_application_out(driver)
    fill_out(driver, campus, reason, destination, track)
    print('=================================')
    go_to_application_in(driver)
    fill_in(driver, campus, reason, habitation, district, street)
    print('=================================')
    screen_capture(driver)
    print('=================================')
    ret = mail()
    if ret:
        print('邮件发送成功')
    else:
        print('邮件发送失败')
    print('可以愉快的玩耍啦！')