element

Type: <string>
It captures the DOM element matching the given for the screenshot over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
microlink 'https://codepen.io/fossheim/full/oNjxrZa&screenshot=true&element=#result-iframe-wrap'
It will wait for the element to appear in the page and to be visible.