You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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!
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.
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
The text was updated successfully, but these errors were encountered: