aminblm / linkedin-application-bot

A python bot to apply all Linkedin Easy Apply jobs based on your preferences.
https://www.linkedin.com/pulse/open-source-project-1-linkedin-application-bot-your-amin-sa8af/
Other
118 stars 51 forks source link

Element Button #28

Open Kudakwashechikwenya opened 7 months ago

Kudakwashechikwenya commented 7 months ago

The URLS are created successfully and its able to log into my account but then its failing to appply a single job saying something about the element button attached is the erorr message :

Error in main: Message: Element

aminblm commented 7 months ago

Thank you @Kudakwashechikwenya for reporting, our team is on it.

Ksnstrkv commented 6 months ago

I have the same problem when running. How can I fix this error?

tehcmanmax commented 4 months ago

Thank you @Kudakwashechikwenya for reporting, our team is on it.

any update?

Kudakwashechikwenya commented 4 months ago

Nope I did not receive any Update since that time

On Sat, Jun 1, 2024 at 6:16 PM Max D. @.***> wrote:

Thank you @Kudakwashechikwenya https://github.com/Kudakwashechikwenya for reporting, our team is on it.

any update?

— Reply to this email directly, view it on GitHub https://github.com/aminblm/linkedin-application-bot/issues/28#issuecomment-2143624122, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5SFYE22SW3AKPIJM3CRJDZFJI4FAVCNFSM6AAAAABD7LJOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGYZDIMJSGI . You are receiving this because you were mentioned.Message ID: @.***>

tehcmanmax commented 4 months ago

@Kudakwashechikwenya That's pity. The script is looking promising

tehcmanmax commented 4 months ago

on line 201 change this '//button[contains(@class, "jobs-apply-button")]') to this '//button[contains(@id, "ember497")]')

it looks it can't find a class for some reason, but it could find an id

Kudakwashechikwenya commented 4 months ago

Thanks a lot Max D

I made the Update on line 201 and now it's able to open the page but it's failing to locate some elements hence the script is saying already applied on all the jobs without applying any.

Your assistance would be highly appreciated,

Thank you

On Sun, Jun 2, 2024 at 9:29 AM Max D. @.***> wrote:

on line 201 change this @., "jobs-apply-button")]') to this @., "ember497")]')

it looks it can't find a class for some reason, but it could find an id

— Reply to this email directly, view it on GitHub https://github.com/aminblm/linkedin-application-bot/issues/28#issuecomment-2143878172, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5SFYELKIBRMFUHYULGZXLZFMT6BAVCNFSM6AAAAABD7LJOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHA3TQMJXGI . You are receiving this because you were mentioned.Message ID: @.***>

Kudakwashechikwenya commented 4 months ago

I forgot to attach the errors

:2 | | | | | | | * 🥳 Already applied! Job: https://www.linkedin.com/jobs/view/3934545083 Warning in getting jobTitle: Message: Unable to locate element: //h1[contains(@ Warning in getting jobCompany: Message: Unable to locate element: @.*** Warning in getting jobLocation: Message: Unable to locate element: //span[contains Warning in getting jobWorkPlace: Message: Unable to locate element: //span[contains Warning in getting jobPostedDate: Message: Unable to locate element: //span[contains Warning in getting jobApplications: Message: Unable to locate element: //span[contains

On Sun, Jun 2, 2024 at 9:38 PM Kuda Chikwenya @.***> wrote:

Thanks a lot Max D

I made the Update on line 201 and now it's able to open the page but it's failing to locate some elements hence the script is saying already applied on all the jobs without applying any.

Your assistance would be highly appreciated,

Thank you

On Sun, Jun 2, 2024 at 9:29 AM Max D. @.***> wrote:

on line 201 change this @., "jobs-apply-button")]') to this @., "ember497")]')

it looks it can't find a class for some reason, but it could find an id

— Reply to this email directly, view it on GitHub https://github.com/aminblm/linkedin-application-bot/issues/28#issuecomment-2143878172, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5SFYELKIBRMFUHYULGZXLZFMT6BAVCNFSM6AAAAABD7LJOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHA3TQMJXGI . You are receiving this because you were mentioned.Message ID: @.***>

tehcmanmax commented 4 months ago

@Kudakwashechikwenya just follow the same logic I used:

  1. Define the buttons that don't work (you have already provided them)
  2. Open LinkedIn, find a job with easy apply
  3. Right click -> inspect element and click on the buttons that don't work
  4. Now look at IDs or classes that you could copy the name and correct inside of the Python script
  5. Continue with other broken page elements