# How to get full htmlcode of page

**URL:** <https://discourse.openiap.io/t/how-to-get-full-htmlcode-of-page/182>\
**Category:** OpenRPA\
**Created:** [January 23, 2023, 2:46pm UTC](https://discourse.openiap.io/t/how-to-get-full-htmlcode-of-page/182 "2023-01-23T14:46:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashshah](https://discourse.openiap.io/user_avatar/discourse.openiap.io/yashshah/32/2388_2.png) [@yashshah](https://discourse.openiap.io/u/yashshah)\
**Post date:** [January 23, 2023, 2:46pm UTC](https://discourse.openiap.io/t/how-to-get-full-htmlcode-of-page/182/1 "2023-01-23T14:46:13Z")

</div>

I want to get full HTML of a page how can I do it??

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [January 24, 2023, 9:58am UTC](https://discourse.openiap.io/t/how-to-get-full-htmlcode-of-page/182/2 "2023-01-24T09:58:12Z")

</div>

get the body using /html/body and then use item.innerHTML

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [January 31, 2023, 9:58am UTC](https://discourse.openiap.io/t/how-to-get-full-htmlcode-of-page/182/3 "2023-01-31T09:58:59Z")

</div>

Closed on January 31, 2023, 9:58am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
