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 weekName(driver):
    driver.implicitly_wait(20)

    element = driver.find_element_by_class_name("weekName")
    print(element)
    print(element.size)
    print(element.text)


    return element

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