On console log you can cycle through the said history using the up ️ key.
My idea is to retrieve and save the whole history and get all the code snippets I have there.
example of a code snippet that I retrieved using the ️ key:
Any help on this matter is much appreciated. Thanks in advance