Skip to content

Commit

Permalink
Update CCC.py
Browse files Browse the repository at this point in the history
  • Loading branch information
loserskater committed Jan 20, 2021
1 parent af67521 commit a632785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __colleges/CCC.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def apply(driver, student):
parent = driver.find_element_by_class_name('autocomplete-menu')
schools = parent.find_elements_by_tag_name("li")

schools[random.randint(2, len(schools))].click()
schools[random.randint(2, len(schools)-1)].click()

WebDriverWait(driver, 10).until(
EC.element_to_be_clickable((By.ID, 'inputGPA'))
Expand Down

0 comments on commit a632785

Please sign in to comment.