Envirnment configuration options
NODE_ENV
environment variable (overrides all, if the NODE_ENV
is “production” this overrides all including the headless param in the options & the HEADLESS
env )HEADLESS
environment variable (if NODE_ENV
is not “production”, HEADLESS
env var set to “off” overrides the headless
options param.)headless
options param value (default true
) can be set to false
object passed to getHtmlHEADLESS
param and do not change the headless
options param.