Unable to choose home country
Opened this issue · 9 comments
Hi @IggsGrey when inserting the City linkedin forms does some ajax validation to check whether this city/country is valid, i tried using the bot with Accra, Greater Accra Region, Ghana
as the HOME_CITY
config and it works for this job link https://www.linkedin.com/jobs/view/3540699774/?eBP=JOB_SEARCH_ORGANIC&recommendedFlavor=SKILL_ASSESSMENTS&refId=U8hJvtebc4x1NTl4QtMVTw%3D%3D&trackingId=6eZCYD%2BTEgNfcXOOjvKhSg%3D%3D&trk=flagship3_search_srp_jobs
Can you share the job link you are having trouble with?
I'll be adding a chromium recorder to make this debugging process easier, something like https://www.npmjs.com/package/puppeteer-screen-recorder
Here's a screen recording of it.
As you can see, even though it is possible to proceed to the next step, it didn't proceed. It just kept trying to select a country. Also it seems to select a different country sometimes and then it tries to select the correct one again.
It repeats this for about 3 times until it finally fails.
Screencast.from.10-04-23.19.28.42.webm
I ran the bot with that job link and Accra, Greater Accra Region, Ghana
as the city and it was giving me a different error, it was giving up on the 5th page as i was limiting it to 5 page fill tries, i increased the counter and it started working. can you tell me if this pr fixes it?
VID_20230412_220256677.mp4
@IggsGrey as you can see it is working on my computer, once you are able to test it with this change let me know, thanks for reporting! 🙂
Unfortunately, my PC broke so I am unable to provide feedback immediately, I attempted running it on my MacOS but it seems the app is unable to run after installing on MacOS, I have created a new issue for that.
Will update as soon as i get my PC up and running
Hi so I noticed there are certain cases where after failing for the 3rd time, the application is able to proceed to the next step/page.
In cases like that. your PR does the good job of not limiting the number of pages remaining...
However, i guess this is more of a workaround than an actual fix?
Even then, it still implies more job applications are likely to fail
@joaosilvalopes I do have the same issue, maybe it is because it does the operation too quickly? so the validation still fails? as it seems to re-type it multiple times. Get a failed validation 3x times and then quit.
at the moment I just increased the page ties like you guys said before. One more thing I have observed it doing now. It tries stuff like , Spain even tho I am from UK and never added spain to my config. But it works with more tries, maybe later I will try the pull requests