Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Wordpress site not opening on chrome #8174

Closed
bilalsha opened this issue Mar 31, 2022 · 2 comments
Closed

[Bug]: Wordpress site not opening on chrome #8174

bilalsha opened this issue Mar 31, 2022 · 2 comments

Comments

@bilalsha
Copy link

Bug description

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
    // ...
})();

Puppeteer version

13.5.1

Node.js version

16.13.2

npm version

8.1.2

What operating system are you seeing the problem on?

Linux, macOS

Relevant log output

No response

@bilalsha bilalsha added the bug label Mar 31, 2022
@stale
Copy link

stale bot commented Jun 23, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

@stale stale bot added the unconfirmed label Jun 23, 2022
@stale
Copy link

stale bot commented Jul 25, 2022

We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant