Learn how to hide specific elements on a webpage before capturing a screenshot.
This feature is useful for hiding extra elements such as notices.
You need to specify the name of the element to hide, such as a table, div, button or more. The hide value can be by:
Check out our element selection examples for more details.
To hide multiple items, repeat the hide parameter such as &hide=.element1&hide=.element2
The screenshot below shows a website with all elements visible such as the header with a search bar and headings.
The example below will hide the header with the search bar based on the Id "#gb" and hide the headings based on the class name ".Z3lOXb".
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&hide=#gb&hide=.Z3lOXb
&url=play.google.com