Skip to content

Get Visuals

ali-hamud edited this page Dec 20, 2017 · 6 revisions

To get a list of visuals in a specific page, use the getVisuals async method on Page object.

'''javascript page.getVisuals().then(function(visuals) { ... }); '''

Example: get a list of visuals on the first page:

'''javascript report.getPages() .then(function (pages) { // Retrieve first page. var firstPage = pages[0];

firstPage.getVisuals()
  .then(function (visuals) {
    console.log(visuals);
  })

}) '''