steinnes/bord

Examine userDataDir launch parameter to avoid chrome profile proliferation

Opened this issue · 1 comments

By default pypetteer (or chrome) creates a blank new chrome profile when launched. This probably impacts performance and over time (restarts) wastes disk space. Let's examine whether a fixed chrome profile path can be used with the userDataDir chrome launch parameter.

See: https://pptr.dev/#?product=Puppeteer&version=v5.2.1&show=api-puppeteerlaunchoptions
and: https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md

.... if the launch parameter doesn't work this might be alleviated (on Linux) by the environment variable approach detailed in the chromium docs linked above. That solution however wouldn't by applied within bord.