Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selenium.common.exceptions.NoSuchElementException #1

Closed
patelhenil opened this issue May 12, 2019 · 3 comments
Closed

selenium.common.exceptions.NoSuchElementException #1

patelhenil opened this issue May 12, 2019 · 3 comments

Comments

@patelhenil
Copy link

Hi Nicolo, appreciate your code. When running quickstart.py or easyapplybot.py directly there seems to be a selenium.common.exceptions.NoSuchElementException. Attaching a screenshot of the issue. Your input would be appreciated. Thanks.
Capture

@patelhenil
Copy link
Author

I think the code is a bit outdated as LinkedIn have changed their UI and some of their id and class tags.

@nicolomantini
Copy link
Owner

Hi
Yes you are right, Linkedin has recently modified the UI, therefore the code is failing when trying to trigger a button that does not exists anymore... The button was only supposed to list the jobs in a unique column (instead of 2 as it is by default). That was done to simplify the scraping, but it is not necessary to do it in that way.
It should be quite straight forward to update the code, removing the old button trigger (line 117 and 118) and updating the part that gets the links of the jobs in the page. If that gets updated, the rest should follow.

get job links

links = self.browser.find_elements_by_xpath(
'//div[@data-job-id]'
)

If you have time to update it you are more than welcome to submit a pull request :))

Best
Nico

@nicolomantini
Copy link
Owner

The code has been updated

nicolomantini pushed a commit that referenced this issue Jun 21, 2020
sudeepg95 pushed a commit to sudeepg95/easy-apply-bot that referenced this issue Aug 26, 2022
sudeepg95 pushed a commit to sudeepg95/easy-apply-bot that referenced this issue Aug 26, 2022
@klevinkona klevinkona mentioned this issue Jan 9, 2024
Closed
farrenhi pushed a commit to farrenhi/LinkedIn-Easy-Apply-Bot that referenced this issue Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants