You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using executeClientScripts: true, it seems the saved snapshot is the full response from the server (raw HTML content, including script) and not the browser-rendered DOM. Not sure if this is intended behavior but:
1/ This snapshot is most of the time of no use since the scripts will probably not be able to be played again at a later point in time (they will no longer be available on the source/online platform, therefore it is not possible to rebuild history from such snapshots).
2/ This snapshot cannot be used either to debug parsing errors/selector errors since it does not contain the full DOM which was processed (and downloading it is not enough for a non tech-savvy user, since CORS and other security policies won't let you download external JS from a local file in absence of a webserver).
Wouldn't it be better to save the full DOM from the browser (puppeteer) as a snapshot? If for some reason (e.g. traceability) we need the initial response from the server as well, what about keeping both of them as snapshots?
Thanks
The text was updated successfully, but these errors were encountered:
Hi @Phyks,
I can confirm that the saved HTML is fully rendered, including any content dynamically loaded or modified by JavaScript. Could you share a concrete example?
Hi,
When using
executeClientScripts: true
, it seems the saved snapshot is the full response from the server (raw HTML content, including script) and not the browser-rendered DOM. Not sure if this is intended behavior but:1/ This snapshot is most of the time of no use since the scripts will probably not be able to be played again at a later point in time (they will no longer be available on the source/online platform, therefore it is not possible to rebuild history from such snapshots).
2/ This snapshot cannot be used either to debug parsing errors/selector errors since it does not contain the full DOM which was processed (and downloading it is not enough for a non tech-savvy user, since CORS and other security policies won't let you download external JS from a local file in absence of a webserver).
Wouldn't it be better to save the full DOM from the browser (puppeteer) as a snapshot? If for some reason (e.g. traceability) we need the initial response from the server as well, what about keeping both of them as snapshots?
Thanks
The text was updated successfully, but these errors were encountered: