DEV Community

Cover image for Simplified Job Application Automation With Javascript
Harsh Mangalam
Harsh Mangalam

Posted on

Simplified Job Application Automation With Javascript

Are you tired of spending countless hours applying for jobs on online portals? ๐Ÿ•’๐Ÿ’ผ Say goodbye to manual clicking with our latest video tutorial on browser automation! ๐Ÿš€โœจ Learn how to harness the power of the browser console to streamline your job application process. Our step-by-step guide will walk you through automating the entire process, from navigating job listings to clicking that 'Apply' button. ๐ŸŽฏ๐Ÿ“‹

We are going to write a javascript function that will run in an interval of 300 ms and automatically click on the "Apply" button of the job card.

function applyNow() {
  const btns = document.querySelectorAll("button");
  for (const btn of btns) {
    if (btn.textContent.trim() === "Apply") {
      btn.click();
    }
  }
}

setInterval(() => applyNow(), 300);
Enter fullscreen mode Exit fullscreen mode

Click on the below thumbnail to watch complete video.
Youtube Video

Top comments (4)

Collapse
 
dasheck0 profile image
Stefan Neidig

While I like the idea of automating stuff, I really don't think that it is a good idea to do it for job applications. Work is something you deal with most of the day, so it might be worth to put some effort into the research process and find a place that ticks many boxes besides the salary (e.g. culture, personal development, ...). Rather look for it manually than throwing 300 applications at someone and ending up somewhere random. Just my 2ct

Collapse
 
harshmangalam profile image
Harsh Mangalam

I am completely agree with your thoughts on personalised work environment but there are more than 65% students and developers in India who are manually applying for 50+ jobs daily this type of scripts will really help them to atleast get some calls from HR and in the last they care about ticks many boxes besides the salary (e.g. culture, personal development, ...) when they have multiple offers in hand.

Collapse
 
dasheck0 profile image
Stefan Neidig

I see. I didn't take the cultural aspect into account. Live and work in germany and my thoughts reflect my own history that was mainly created here. I do not know about the situation in India and how one approaches or thinks about work there. So if this is relevant to you, then good for you and that you do something to help each other out :)

Collapse
 
applypass_ profile image
ApplyPass

We created a free tool that sends job applications for software engineers! Definitely worth checking out ApplyPass