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

Fix follow company logic when there is no button available for it in … #75

Closed tudopropaganda closed 2 weeks ago

tudopropaganda commented 2 weeks ago

…the popup

The program was crashing when the element was not found in the page.

followCompany = self.driver.find_element(By.CSS_SELECTOR,"label[for='follow-company-checkbox']")

Just created a try/except using the already imported NoSuchElementException.

tudopropaganda commented 2 weeks ago

thank you, i will try another approach. best!