nicolomantini / LinkedIn-Easy-Apply-Bot

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

The bot can't exit out of applications #119

Closed faran678 closed 1 year ago

faran678 commented 1 year ago
Screenshot 2022-12-19 at 6 24 37 AM Screenshot 2022-12-19 at 6 25 35 AM

The bot can't exit out of applications, it seems like there is a new button for exiting applications. Any rec?

PH13 commented 1 year ago

From my understanding, I don't think it's a new button to exit.

I think the code is not recognizing the "Please enter a valid answer". Once the code sees this it should just open the URL to the next application. Doesn't even exit.

Probably has to do with line 376:

        error_locator = (By.CSS_SELECTOR,
                         "p[data-test-form-element-error-message='true']")
faran678 commented 1 year ago

@PH13 I have line 376 correct same as what you have. What do you recommend I tried adding a dismiss button but the same issue continues.

PH13 commented 1 year ago

@faran678 I have been tinkering and have still not found a solution. Having two problems right now. This and the choose resume dialogue. Trying to fix the choose resume dialogue first since that usually comes up first then I'll try this problem.

faran678 commented 1 year ago

No worries, thanks for trying

PH13 commented 1 year ago

Working on this now, found temp solution for resume selection.

PH13 commented 1 year ago

Replace "p[data-test-form-element-error-message='true']" on line 332 and 377 with [aria-invalid='true'] and bot should work as it was designed to. It will discard the application and move to the next one.

zadohu22 commented 1 year ago

replace line 375 with the following code to solve the 'exit out of applications' problem. :)

error_locator = (By.CLASS_NAME, "artdeco-inline-feedback__message")

faran678 commented 1 year ago

Works perfectly, thanks for the help. Good work guys