title: How to scrape a react Website using Puppeteer?
body: <p>I am trying to scrape a website which uses react, when in chrome i am able to access the element i want, but when i am trying to use puppeteer i am unable to access the same element as the source code is not loading those react elements, is there any way to access it.</p>
  
  <p>Here is the code</p>
  
  <pre><code>const request= require('request-promise')
  const cheerio= require('cheerio');
  const puppeteer = require("puppeteer");
  
  const Url='https://angel.co/companies';
  
  
  (async ()=&gt;{
  
      const browser = await puppeteer.launch({headless: false});
      const page = await browser.newPage();
  
      await page.goto(Url);
        const html = await page.content();
      // const response=request.get(Url)
      const $ = await cheerio.load(html);
  
  
  
  
      // const companies=$('div.base.startup').html()
       const companies=await $('div.base.startup &gt; div.company.column &gt; div &gt; div.text &gt; div.pitch').text()
      // const companies=document.querySelectorAll('div.base.startup &gt; div.company.column &gt; div &gt; div.text &gt; div.pitch')
  
      console.log(companies)
      await browser.close()
  
  } )()
  
  </code></pre>