puppeteer/docs/api/puppeteer.experimentsconfiguration.macarmchromiumenabled.md
jrandolf f07ad2c661
fix: update documentation on configuring puppeteer (#9150)
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00

659 B

sidebar_label
ExperimentsConfiguration.macArmChromiumEnabled

ExperimentsConfiguration.macArmChromiumEnabled property

Require Puppeteer to download Chromium for Apple M1.

On Apple M1 devices Puppeteer by default downloads the version for Intel's processor which runs via Rosetta. It works without any problems, however, with this option, you should get more efficient resource usage (CPU and RAM) that could lead to a faster execution time.

Can be overridden by PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM.

Signature:

interface ExperimentsConfiguration {
  macArmChromiumEnabled?: boolean;
}

Default value:

false