wodsuz/EasyApplyJobsBot

Security Verfication

shrey8761 opened this issue · 6 comments

After Submiting Password, Verfication Window(Security Check) opens and hence

totalJobs = self.driver.find_element(By.XPATH,'//small').text

from here error starts coming (cant find element, as verfication window(Security Check) gets open up)).

simple solution- Can we introduce retry 2 times after every 60 seconds?
Benefits-

  1. For any unexpected additional popup, we can manage manually, and after that bot will retry again for next step without exiting.

In short - can we alter -
Number_of_ Attempt to RETRY and
TIME_INTERVAL between every Retry
till last click of whole process

@shrey8761 Were you able to fix this issue?

Checking in for any updates to this issue, still having this issue on my side

Hi there, I got it past this step by sleeping the code, try this after you get the url:

self.driver.get(url)
time.sleep(random.uniform(1.5, 2.5))
totalJobs = self.driver.find_element(By.XPATH,'//small').text 

@Kickbykick Awesome, this fix is working!

Thanks merged this fix