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

157
Views
Wordpress site not opening on puppeteer

I am trying to open this site on chrome using puppeteer. But I am unable to open it. On Inspect it is sending a GET request to page and in response, the page has an empty body. However, when I try on a real chrome browser it is showing a website.

(async () => {
    // Create an instance of the chrome browser
    // But disable headless mode !
    const browser = await puppeteer.launch({
        headless: false,
        executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
    });

    const context = await browser.createIncognitoBrowserContext();

    // Create a new page
    const page = await context.newPage();
    page.setBypassCSP(false);
    page.setJavaScriptEnabled(true);

    // Configure the navigation timeout
    await page.setDefaultNavigationTimeout(0);

    // Navigate to some website e.g Our Code World
    await page.goto('https://mindcet.org/');

    await page.waitForNavigation({'waitUntil': 'networkidle2'});

    // Do your stuff
    // ...
})();

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!