You can access the 'Scrolling Screenshot' functionality, which allows you to capture a video (in webm, gif, or mp4 format) of a web page with various customizable options. These options include the ability to scroll backward, adjust scrolling speed, set the duration, and start recording instantly
Example:
In the following video, you'll find a more illustrative example of how to utilize the 'Scrolling Screenshot' functionality. When you click the 'Take Screenshot' button, it will take a few seconds to capture the video and provide you with JSON containing the video information.
Here is the recorded video demonstrating the example.
In addition to the 'Scrolling Screenshot' functionality, our application offers the feature of 'Multiple Scrolling Screenshots'. With this feature, you can capture multiple scrolling screenshots of web pages, each with different sizes in terms of width and height. This means you have the flexibility to customize the dimensions of the screenshots according to your specific requirements.
Example:
In the parameters of the endpoint, we will pass an array of objects with different sizes. To achieve this, we need some code to pass this array in the 'sizes' parameter.
In the following video, you'll find a more illustrative example of how to utilize the 'Multiple Scrolling Screenshot' functionality. When you click the 'Take Screenshot' button, it will take a few seconds to capture the video and provide you with JSON containing the video information.
This value determines how long the scrolling action will take, measured in seconds.
You can set a value between 0
and 100
to adjust the scrolling time.
A higher value will result in a longer scrolling duration and a longer video.
A lower value will speed up the scrolling, reducing the video duration.
The default value is 0
(indicating no scrolling or instant rendering).
The scroll_back
option, when set to true, allows the scrolling action to return to the top of the page after reaching the bottom.
If enabled, the browser will scroll to the end of the page, and once it reaches the bottom, it will automatically scroll back up to the top.
This option creates a looping scrolling effect, useful for video renderings that require the entire page to be revisited.
The default value is false
(no scrolling back to the top).