title: Puppeteer returning empty array
body: <p>I'm trying pick some data from followers page, but always return a empty array.
  That's my code:</p>
  <pre><code>    const puppeteer = require('puppeteer');
  
  
  (async () =&gt; {
    const browser = await puppeteer.launch({headless:false});
    const page = await browser.newPage();
  
    await page.goto('https://www.instagram.com/accounts/login/', {
      waitUntil: 'networkidle0',
    });
  
    // Wait for log in form
  
    await Promise.all([
      page.waitForSelector('[name=&quot;username&quot;]'),
      page.waitForSelector('[name=&quot;password&quot;]'),
      page.waitForSelector('[type=&quot;submit&quot;]'),
    ]);
  
    // Enter username and password
  
    await page.type('[name=&quot;username&quot;]', 'yourAccount');
    await page.type('[name=&quot;password&quot;]', 'yourPassword');
  
    // Submit log in credentials and wait for navigation
  
    await Promise.all([
      page.click('[type=&quot;submit&quot;]'),
      page.waitForNavigation({
        waitUntil: 'networkidle0',
      }),
    ]);
  
    await page.goto('https://www.instagram.com/publicProfile /followers/', {waitUntil: 'networkidle0'});
  
    const teste = await page.evaluate(() =&gt; {
      const followers = document.querySelectorAll(&quot;._aaco span&quot;);
      let followersArray = []
      followers.forEach((item) =&gt;{
        followersArray.push(item.innerText)
      })
      return followersArray
    })
  
    console.log(teste)
  
    await browser.close();
  })();
  </code></pre>
  <p>publicProfile in the URL is a profile that I choose, but for privacy reasons e alterate for publicProfile.</p>
  <p>UPDATE: The problem has resolved, as Örvar said the problem was that I wasn't logged, soo I search for help here and I found this (<a href="https://stackoverflow.com/questions/52977128/puppeteer-login-to-instagram">Puppeteer Login to Instagram</a>) question that solved my question.</p>