Platform customization in Add Screenshots allows you to specify the platform your request simulates, such as MacIntel or Linux x86_64. By default, the platform is set to Linux x86_64, but changing this can be useful when specific websites render differently depending on the platform.
Platform customization is particularly useful for ensuring accurate renders of web pages that may behave differently based on the client platform. For example, some websites might block or alter content for certain platforms to optimize performance metrics or user experience.
The platform variable supports several options, including:
Customizing the platform is beneficial when:
Consider an e-commerce website that doesn't fully load content when accessed from a Linux x86_64 platform. This might be due to a small number of Linux users or an attempt to artificially improve page load speed metrics. In this case, using the default Linux x86_64 platform in the screenshot request might result in a blank or incomplete capture.
However, by specifying the platform as MacIntel, the website loads as expected, and the screenshot reflects the fully rendered page. This can be critical when capturing accurate representations of web pages.
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&platform=MacIntel
&url=https://lunafide.com/collections/best-sellers
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
The following screenshot was taken with the platform set to MacIntel. The page rendered correctly, showing all content as expected:
Below is a screenshot captured without specifying a platform (default Linux x86_64). The content is not fully loaded, resulting in a blank page:
This comparison demonstrates the importance of choosing the appropriate platform for your screenshot captures. By specifying the right platform, you can ensure that your screenshots accurately represent the content as seen by users on different systems.