# Get URL String Dynamically from Web Browser Component during Runtime

**URL:** <https://forum.inductiveautomation.com/t/get-url-string-dynamically-from-web-browser-component-during-runtime/32960>\
**Category:** Ignition\
**Created:** [March 10, 2020, 8:37am UTC](https://forum.inductiveautomation.com/t/get-url-string-dynamically-from-web-browser-component-during-runtime/32960 "2020-03-10T08:37:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrutha.devaraju](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@amrutha.devaraju](https://forum.inductiveautomation.com/u/amrutha.devaraju)\
**Post date:** [March 10, 2020, 8:37am UTC](https://forum.inductiveautomation.com/t/get-url-string-dynamically-from-web-browser-component-during-runtime/32960/1 "2020-03-10T08:37:40Z")

</div>

Hello,

I wanted to know if there is a way where i can read the url from the webcomponent url.  
Because, if i change the url in runtime mode, it does not get reflected elsewhere and i would like to save it some string and use it for further refrences. Is it possible?

![Capture1](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/83b1df82c277f74ccf3d18878fad2af3f08a38f0.png)

 ![Capture2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2e5dd95c7f280c03cecf0e778a0f1bd9732e3485.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 10, 2020, 2:52pm UTC](https://forum.inductiveautomation.com/t/get-url-string-dynamically-from-web-browser-component-during-runtime/32960/2 "2020-03-10T14:52:46Z")

</div>

`{reference-to-your-component}.browser.url` should be an accurate string representing the current URL in the component, eg, on a button:  
`event.source.parent.getComponent("Web Browser").browser.url`.
