This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script checks if a page is bfcache eligible and prints reasons if it isn't. | |
// It can be easily modified to check multiple pages. | |
// Chrome crbug: https://bugs.chromium.org/p/chromium/issues/detail?id=1312486 | |
// Puppeteer issue: https://github.com/puppeteer/puppeteer/issues/8182 | |
const puppeteer = require('puppeteer'); | |
(async () => { | |
// Configuring and launching the browser |