A system, comprising: one or more processors configured to: receive a screenshot command from an application, wherein the screenshot command includes an application scenario parameter corresponding to the application, wherein the application scenario parameter comprises a value that identifies an application type of the application; determine that the application scenario parameter corresponds to a matching application scenario, wherein the matching application scenario is among a plurality of possible application scenarios, wherein the plurality of possible application scenarios comprises a plurality of application types; obtain a screenshot class corresponding to the matching application scenario by retrieving the screenshot class from a storage; generate a screenshot object based at least in part on the screenshot class, wherein the screenshot class comprises one or more custom elements associated with generating a screenshot associated with the application scenario parameter, wherein the one or more custom elements describe at least an appearance of the screenshot to be generated; generate the screenshot from content displayed by the application using the screenshot object, wherein the screenshot is generated based at least in part on the one or more custom elements associated with generating the screenshot associated with the application scenario parameter; and send the screenshot to the application to be displayed; and one or more memories coupled to the one or more processors and configured to provide the one or more processors with instructions. one or more processors configured to: receive a screenshot command from an application, wherein the screenshot command includes an application scenario parameter corresponding to the application, wherein the application scenario parameter comprises a value that identifies an application type of the application; determine that the application scenario parameter corresponds to a matching application scenario, wherein the matching application scenario is among a plurality of possible application scenarios, wherein the plurality of possible application scenarios comprises a plurality of application types; obtain a screenshot class corresponding to the matching application scenario by retrieving the screenshot class from a storage; generate a screenshot object based at least in part on the screenshot class, wherein the screenshot class comprises one or more custom elements associated with generating a screenshot associated with the application scenario parameter, wherein the one or more custom elements describe at least an appearance of the screenshot to be generated; generate the screenshot from content displayed by the application using the screenshot object, wherein the screenshot is generated based at least in part on the one or more custom elements associated with generating the screenshot associated with the application scenario parameter; and send the screenshot to the application to be displayed; and receive a screenshot command from an application, wherein the screenshot command includes an application scenario parameter corresponding to the application, wherein the application scenario parameter comprises a value that identifies an application type of the application; determine that the application scenario parameter corresponds to a matching application scenario, wherein the matching application scenario is among a plurality of possible application scenarios, wherein the plurality of possible application scenarios comprises a plurality of application types; obtain a screenshot class corresponding to the matching application scenario by retrieving the screenshot class from a storage; generate a screenshot object based at least in part on the screenshot class, wherein the screenshot class comprises one or more custom elements associated with generating a screenshot associated with the application scenario parameter, wherein the one or more custom elements describe at least an appearance of the screenshot to be generated; generate the screenshot from content displayed by the application using the screenshot object, wherein the screenshot is generated based at least in part on the one or more custom elements associated with generating the screenshot associated with the application scenario parameter; and send the screenshot to the application to be displayed; and one or more memories coupled to the one or more processors and configured to provide the one or more processors with instructions.