nicolomantini / LinkedIn-Easy-Apply-Bot

Automate the application process on LinkedIn
Apache License 2.0
765 stars 321 forks source link

no such element: Unable to locate element: {"method":"css selector","selector":".jobs-search-results"} #102

Closed mrtknrt closed 1 year ago

mrtknrt commented 2 years ago

Describe the bug The bot logins to LinkedIn but never applies for jobs or even searches for the criteria not sure what is happening.

Screenshots image

Error Statement Message: no such element: Unable to locate element: {"method":"css selector","selector":".jobs-search-results-list"} (Session info: chrome=104.0.5112.102)

Desktop (please complete the following information):

To Reproduce Steps to reproduce the behavior: Just run the bot and it gives the error message and doesn't apply for jobs.

luunarmouse commented 2 years ago

Same issue~

luunarmouse commented 2 years ago

I fixed it. Change jobs-search-results to jobs-search-results-list in the python file.

mrtknrt commented 2 years ago

I fixed it. Change jobs-search-results to jobs-search-results-list in the python file.

I did that already

luunarmouse commented 2 years ago

Hmm, weird. The only other thing I did in my own file was add some more sleep time and it did start working. There is a delay between the bot logging in and to when it actually applies to jobs, however. Mine sits on the page after searching for the jobs for a minute, but it does do it.

kaushikslearning commented 1 year ago

Hmm, weird. The only other thing I did in my own file was add some more sleep time and it did start working. There is a delay between the bot logging in and to when it actually applies to jobs, however. Mine sits on the page after searching for the jobs for a minute, but it does do it.

Where exactly did you add the sleep time, can you please elaborate?

ZaneBaylon commented 1 year ago

I had this problem and fixed it independently, works for my setup.

            scrollresults = self.browser.find_element(By.CLASS_NAME,
                "jobs-search-results-list"
            )

Please note that you have to update selenium syntax to the newest version, between those two that was what was messing up my scrolling. Linkedin has been changing this area lately so keep an eye out! I'm running a custom version, but if I can provide any more details lmk.