The Applitools server allows uploading images with a maximum length of 15,000 pixels.
Screenshots of webpages with a length of more than 15000 pixels are cut off and missing the bottom part of the content.
Solution
A solution for this case is to capture the webpage in steps.
Some SDKs allow taking a few screenshots in a single check, and saves the scrolling and stitching time when using a separate check call for each part of the page.
Tests in Java and C# that demonstrate this solution are attached at the bottom of this article.
Since the attached tests use this article as an example for a long page, the rest of this article is just the numbers of the rows.
1
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
105
110
115
120
125
130
135
140
145
150
155
160
165
170
175
180
185
190
195
200
205
210
215
220
225
230
235
240
245
250
255
256
260
265
270
275
280
285
290
295
300
305
310
315
320
325
330
335
340
345
350
355
360
365
370
375
380
385
390
395
400
405
410
415
420
425
430
435
440
445
450
455
460
465
470
475
480
485
490
495
500
End of Article