MCPcopy
hub / github.com/ocsjs/ocsjs / waitForQuestions

Function waitForQuestions

packages/scripts/src/projects/zjy.ts:632–641  ·  view source on GitHub ↗

* 等待试卷作业加载

()

Source from the content-addressed store, hash-verified

630 * 等待试卷作业加载
631 */
632async function waitForQuestions() {
633 return waitForElement(
634 [
635 // 一般选择器
636 '.subjectList',
637 // 课堂作业(study/courseteaching/test/homeWork)的特殊选择器
638 '.subjectListTest'
639 ].join(',')
640 );
641}
642
643function workOrExam(type: 'work' | 'exam', { answererWrappers, period, thread, answerSeparators }: CommonWorkOptions) {
644 $message.info({ content: '开始作业' });

Callers 1

methodsFunction · 0.85

Calls 1

waitForElementFunction · 0.90

Tested by

no test coverage detected