GabeGiro / EasyApplyJobsBot

Automated bot that applies to Linkedin jobs via Easy Apply based on your preferences
https://discord.gg/y9fC2snanK
MIT License
20 stars 6 forks source link

NoSuchElementException: the selenium error while running the linkedin.py #20

Open weblearn22 opened 11 months ago

weblearn22 commented 11 months ago

I was running the code on windows OS and used the Chrome browser. I could not run it using docker because the docker software did not work on my computer. In applications every time I tried it's throwing the errors at the end:

  1. "selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span[contains(@class, 'workplace-type')]"} For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception"

  2. "File "...\EasyApplyJobsBot\linkedin.py", line 90, in startApplying jobCounter = self.processJob(jobID=job.linkedinJobId, jobCounter=jobCounter)

    File "...\EasyApplyJobsBot\linkedin.py", line 121, in processJob jobProperties = self.getJobProperties(jobID=jobID)

    File "...\EasyApplyJobsBot\linkedin.py", line 239, in getJobProperties jobWorkPlaceType = self.getJobWorkPlaceType()

    File "...\EasyApplyJobsBot\linkedin.py", line 305, in getJobWorkPlaceType utils.displayWarning(config.displayWarnings, "in getting jobWorkPlaceType", e)

AttributeError: module 'utils' has no attribute 'displayWarning' "

Please advice on anysteps I am missing or how can I fix this issue. Thank you so much!