We have a a frequent request for more options to disable or minimize session storage. The difficulty in simply moving to a memory or disabled session database is some features are relying on the session storage.
It seems like we should add a few modes:
'basic': preserve basic functionality needed by sessions and stores only those things (dom/resources/maybe session logs)
'replay': store everything needed to create high fidelity replays of sessions (might be able to drop some things like devtools message logs)
'full': keeps all debug information around, including devtools messages
'none': might use basic until end of session and automatically delete it (or converts to memory sqlite)
Resources only keep the last X resource bodies in memory. Might be cleared out by certain commands like goto, or a new "mark(label)" command. Same for navigations and frames.
disable any detached dom stuff and inform user if they attempt to use features
We have a a frequent request for more options to disable or minimize session storage. The difficulty in simply moving to a memory or disabled session database is some features are relying on the session storage.
It seems like we should add a few modes: