add CHROME_TIMEOUT args by fa0311 · Pull Request #1120 · ArchiveBox/ArchiveBox
Summary
- add
CHROME_TIMEOUTargs
Environment
Chromium 111.0.5563.64 snap
Why
Chromium --timeout argument doesn't actually do timeout behavior.
For example, when --screenshot argument is given, it delays the shooting for the time specified by the timeout.
Not sure if this behavior is caused by chromium v111.
Note
CHROME_TIMEOUT is set to 0 by default.
For example, when --screenshot argument is given, If timeout is set to 0, the image is captured at the same time DOMContentLoaded fires, so some Web sites may not be captured as intended.
When set to 1 or higher, the possibility of getting the desired photo increases dramatically.
Related
Changes these areas
- Bugfixes
- Feature behavior
- Command line interface
- Configuration options
- Internal architecture
- Snapshot data layout on disk