I am trying to open a public company page on Linkedin using [Puppeteer](https://github.com/puppeteer/puppeteer), but every time it is redirected to an authentication form. This does not happen when I manually paste the URL in Chromium or in Chrome.

This is the code:

```js
const puppeteer = require("puppeteer");

(async () => {
    const url = "https://www.linkedin.com/company/google/";

    const browser = await puppeteer.launch({
        headless: false,
        args: [
            "--lang=en-GB",
            "--no-sandbox",
            "--disable-setuid-sandbox",
            "--disable-gpu",
            "--disable-dev-shm-usage",
        ],
        defaultViewport: null,
        pipe: true,
        slowMo: 30,
    });

    const page = await browser.newPage();

    await page.goto(url, {
        waitUntil: 'networkidle0',
    });

    await page.waitForSelector(".top-card-layout__entity-info-container", { timeout: 10000 });

    await page.close();
    await browser.close();
})();

```

This is where the browser is redirected:

[![enter image description here](https://i.stack.imgur.com/rTuu0.png)](https://i.stack.imgur.com/rTuu0.png)

This does not happen if I manually paste the URL `https://www.linkedin.com/company/google/` in Chromium or Chrome.

What I have tried so far:

* Use an `incognito` browser context:

```js
// [...]

const context = await browser.createIncognitoBrowserContext();
const page = await context.newPage();

// [...]

```

* Use [puppeteer-extra-plugin-stealth](https://www.npmjs.com/package/puppeteer-extra-plugin-stealth) to avoid being detected as bot:

```js
const puppeteer = require("puppeteer-extra");
puppeteer.use(require("puppeteer-extra-plugin-stealth")());

// [...]

```

* [Random user agent](https://www.npmjs.com/package/random-useragent)

```js
const randomUserAgent = require("random-useragent");

// [...]

await page.setUserAgent(randomUserAgent.getRandom());

// [...]

```

Nothing has worked. Is there anything else I can try?