Skip to content

Commit

Permalink
Merge pull request #53 from OscarDogar/dev
Browse files Browse the repository at this point in the history
fix: 🦺 Added a new validation for the exam
  • Loading branch information
OscarDogar authored Oct 4, 2023
2 parents 83952d5 + bd9f5b3 commit 25d996c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
checkLectureSelector = "styles_Lecture"
checkQuizSelector = "StartQuizOverview-buttons"
contentSelector = 'styles_IFrame'
checkExamSelector = 'StartExamOverview'

courseNameSelector = "course_name"
videoDivSelector = "video-js"
Expand Down Expand Up @@ -237,6 +238,9 @@ def work ():
or len(quiz) != 0
or len(content) != 0
):
exam = driver.find_elements(By.CLASS_NAME, checkExamSelector)
if len(exam) != 0:
break
lecture = None
quiz = []
content = []
Expand Down

0 comments on commit 25d996c

Please sign in to comment.