# Would there be a way to get this page element or not?

**URL:** <https://forum.katalon.com/t/would-there-be-a-way-to-get-this-page-element-or-not/10567>\
**Category:** Web Testing\
**Tags:** katalon-recorder\
**Created:** [April 27, 2018, 11:02am UTC](https://forum.katalon.com/t/would-there-be-a-way-to-get-this-page-element-or-not/10567 "2018-04-27T11:02:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_van\_Hall](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Robert\_van\_Hall](https://forum.katalon.com/u/Robert_van_Hall)\
**Post date:** [April 27, 2018, 11:02am UTC](https://forum.katalon.com/t/would-there-be-a-way-to-get-this-page-element-or-not/10567/1 "2018-04-27T11:02:42Z")

</div>

Hi all,

I’m running into issues when I try to script an application in Katalon Recorder.  
I’m trying to locate elements with changing values in it, like:

‘dossier-11647-basic-information-content’]/div[2]/form/fieldset[3]/div[4]/div/div/div/span/i

where 11647 (it’s an id) changes per session

and:

‘dossier-11651-basic-information-content’]/div[2]/form

where 11651 changes per session.

Is there a way to access these elements, with a wildcard or something similar?

Thank you very much for your attention and help,

Cheers,

Robert

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [May 7, 2018, 4:06am UTC](https://forum.katalon.com/t/would-there-be-a-way-to-get-this-page-element-or-not/10567/2 "2018-05-07T04:06:33Z")

</div>

Hi,

You can use XPath function like //\*[contains(@id, ‘first’)] to select elements based on unchanged parts.
