@uxbertlabs/reportly 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9510,9 +9510,15 @@ class Screenshot {
9510
9510
  logging: false,
9511
9511
  width: fullPageWidth,
9512
9512
  height: fullPageHeight,
9513
- onclone: async () => {
9513
+ onclone: async (domDoc) => {
9514
9514
  // Wait 1 second after cloning to let animations complete
9515
9515
  await this.wait(1000);
9516
+ // scroll over the dome from top to bottom
9517
+ domDoc.defaultView?.scrollTo(0, 0);
9518
+ await this.wait(500);
9519
+ domDoc.defaultView?.scrollTo(0, fullPageHeight);
9520
+ await this.wait(500);
9521
+ domDoc.defaultView?.scrollTo(0, 0);
9516
9522
  },
9517
9523
  ignoreElements: (element) => {
9518
9524
  // Skip cross-origin images that might cause issues