Section (Specific Area Capture)

Capture a specific part of a webpage. This option is only applicable when Full Page is set to false.

Section Element Name

The name of the element to capture, such as a link or button must be specified. The section value can be by:

  • Text such as &focus=OK
  • Name such as &focus=mybutton
  • Id such as &focus=#mybotton
  • Class Name such as &focus=.gdpr-button

View element selection examples.

Section screenshot example

The example below shows how to take a partial website screenshot of the section with the class name "section section-compare".

// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&section=.section.section-compare
&url=https://www.apple.com/iphone/

Capture website section screenshot