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

165
Views
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
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!