A headless Chromium renders the page and runs the JavaScript when Google's resources permit. Once more, Googlebot parses the produced HTML for links, adding any URLs it discovers to a crawling queue. In order to index the page, Google also uses the displayed HTML.