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

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

app_login(driver)
start_class(driver)

# 进入直播间

def alert_accept(driver):
    # sleep(3)

    driver.find_element_by_class_name("ant-btn").click()

    return alert_accept

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