# How to retrieve all the elements on a page

Please use the following line of code in test designer IDE that will log all the elements on a given page.

getTagsSmartTags() API will get all the elements of a web page.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/yZf1IpGyTsmX6rEz-5c209fdb7294.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>