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
// @ts-expect-error - TS2339 - Property 'chrome' does not exist on type 'Window & typeof globalThis'. | TS2339 - Property 'chrome' does not exist on type 'Window & typeof globalThis'.
// @ts-expect-error - TS2339 - Property '_doAddResource' does not exist on type 'Recorder'.
1022
+
awaitthis._doAddResource(fullData);
1023
+
1024
+
1025
+
// @ts-expect-error - TS2339 - Property '_doAddResource' does not exist on type 'Recorder'.
1026
+
awaitthis._doAddResource(thumbData);
1027
+
}
1028
+
935
1029
asyncgetFullText(finishing=false){
936
1030
// @ts-expect-error - TS2339 - Property 'pageInfo' does not exist on type 'Recorder'. | TS2339 - Property 'pageInfo' does not exist on type 'Recorder'.
937
1031
if(!this.pageInfo?.url){
@@ -1191,6 +1285,14 @@ class Recorder {
1191
1285
// @ts-expect-error - TS2339 - Property 'pageInfo' does not exist on type 'Recorder'.
1192
1286
constpageInfo=this.pageInfo;
1193
1287
1288
+
if(this.archiveScreenshots){
1289
+
awaitthis.saveScreenshot(pageInfo);
1290
+
}
1291
+
1292
+
if(this.archivePDF){
1293
+
awaitthis.savePDF(pageInfo);
1294
+
}
1295
+
1194
1296
const[domSnapshot,favIcon]=awaitPromise.all([
1195
1297
this.getFullText(),
1196
1298
// @ts-expect-error - TS2339 - Property 'getFavIcon' does not exist on type 'Recorder'.
0 commit comments