Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
How do I automatically click this button?

How I can make a script that automatically clicks this button?

<div data-v-2aabe0a6="" class="box-inner">
  <span data-v-2aabe0a6="">JOIN</span>
</div>
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Maybe rethink your CSS. Have a new meaningful class name like "join" which describes the button, and use that alongside "box-inner". Then target "join".

(Sidenote: maybe change that markup to something more semantically meaningful too by using <button>.)

const button = document.querySelector('.join');
button.addEventListener('click', handleClick, false);

function handleClick() {
  console.log('Joined!');
}

button.click();
.join { padding: 1em 2em; background-color: lightgreen; }
.join:hover { cursor: pointer; }
.box-inner { box-shadow: 5px 10px 5px pink inset; }
<button data-v-2aabe0a6="" class="join box-inner">
  JOIN
</button>

about 4 years ago · Juan Pablo Isaza Report

0

this code, if inserted where necessary, will work

document.querySelector('div[data-v-2aabe0a6=""]').click()
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!