Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

171
Vistas
I don't know how to access Rate Inquiry tab of RCLGROUP site using Puppeteer

This is the analyzed page https://eservice.rclgroup.com/

I want to use Puppeteer to access the RATE INQUIRY tab but it seems to be rendered by a callGetrate() function; I tried to use await page.click(querySelectorAll('a[onclick^="callGetrate"]')) and try another way to access that callGetrate function by page.evalute(). Everything is not working. It just stops at the Booking Tab.

Screen of the RCLGROUP page

This is the function of the website

The callgetRate function of the RCLGROUP site

This is my code

try{
  const browser = await puppeteer.launch({
    headless: false,
    args: [
      "--disable-gpu",
      "--disable-dev-shm-usage",
      "--disable-setuid-sandbox",
      "--no-sandbox",
    ],
    defaultViewport: null,
  });
  const page = await browser.newPage();

  await page.goto(`${constants.BASE_URL}e-commerce/`);



  await page.waitForSelector('#userId');
  await page.type('#userId', constants.userAccount.username , { delay: 100 });
  await page.type('#password', constants.userAccount.password , { delay: 100 });

  await page.click('input[type=submit]');

  await page.evaluate(() => {
    callGetrate();
  })


    
  const cookie = await page.cookies();
  console.log(cookie);


  return cookie.map((x) => `${x.name}=${x.value}`).join("; ");  

  }catch(error){
    console.log("Failed to Login RCL ", error);
  }
}

Please help me!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda