Skip to content

Commit

Permalink
attempt to resolve 0 jobs found bug, by waiting the precence of jobti…
Browse files Browse the repository at this point in the history
…tle elements on the webpage
  • Loading branch information
kshitijASU committed Sep 13, 2023
1 parent 64352b1 commit ff17a4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/script/appliFly.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
print("All jobs staged for application.")
break

wait_for_job_title_links = WebDriverWait(chromeDriver, 10)
wait_for_job_title_links.until(EC.presence_of_element_located((By.CLASS_NAME, "jobtitle")))
job_title_links = chromeDriver.find_elements(By.CLASS_NAME, 'jobtitle')

print("____________JOB LINKS FOUND____________");
Expand Down

0 comments on commit ff17a4a

Please sign in to comment.