from commom.appDriver import get_app_driver
from commom.login import app_login

driver = get_app_driver(r'C:\Users\Administrator\AppData\Local\Programs\xmqxy\小麦企学院.exe')

app_login(driver)

# 直播时间已到，提示是否开始上课-是/否

def startPromt(driver):
    driver.implicitly_wait(10)
    startPromtElement = driver.find_element_by_class_name("ant-btn")
    print(startPromtElement)
    print(startPromtElement)
    print(startPromtElement)


    return startPromtElement

if __name__ == '__main__':
    startPromt(driver)