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 coursewareTab(driver):
    driver.implicitly_wait(10)
    coursewareTabElement = driver.find_element_by_class_name("CoursewareTab")
    print(coursewareTabElement)
    print(coursewareTabElement)
    print(coursewareTabElement)


    return coursewareTabElement

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