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

312
Views
¿Cómo puedo manejar el error de inicio de sesión en Instagram en el nodo js titiritero?

quiero iniciar sesión en varias cuentas una por una en instgram con titiritero de nodejs. por lo tanto, si alguna cuenta no está iniciada, entonces debe ingresar a otra declaración y pasar a la nueva cuenta. pero no encuentro ninguna solución, ¿alguien puede ayudarme? Gracias por adelantado

 async.eachLimit(User_JSON,1,async(item,cb)=>{ // Starting browser const browser = await puppeteer.launch({headless: false}); const page = await browser.newPage(); await page.goto('https://www.instagram.com/accounts/login/?source=auth_switcher'); await page.waitForSelector('input[name="username"]'); await page.type('input[name="username"]', "yourusername",{delay:50}); await page.type('input[name="password"]', "yourpassword",{delay:50}); await page.click('button[type="submit"]'); //after submit button i want to handle error of login. if account is successfully login then it working continues and if any account is not logged in then it should be goes in else statement and print error on console. // Waiting for page to refresh await page.waitForNavigation(); //...remaining code here after login..... await browser.close();

about 4 years ago · Juan Pablo Isaza
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!