wodsuz / EasyApplyJobsBot

A python bot to automatically apply all Linkedin,Glassdoor, etc Easy Apply jobs based on your preferences. Auto login, auto fill additional questions, apply automatically!
https://www.automated-bots.com/
Other
424 stars 141 forks source link

Message: Unable to locate element: //small #16

Closed muhmtayyab closed 11 months ago

muhmtayyab commented 1 year ago
Screenshot 2022-11-27 at 7 47 14 PM
f1rstxlas7 commented 1 year ago

I had the same issue because I was connected to a VPN and it was first redirecting me to a page that require authentication.

muhmtayyab commented 1 year ago

when there is no job for a search then it throws this error.

Kickbykick commented 1 year ago

Hi there, did you get past this issue? @muhammad-tayyab-qbatch

Kickbykick commented 1 year ago

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 
muhmtayyab commented 1 year ago

@Kickbykick there was not any issue with that. It was just throwing error because there is no job for search term