Selector in the following form not always been located through run

elements in the following form not been located through run :

 <div _ngcontent-onl-c152="" class="dark:text-white-50 text-black-600 md:text-3xl text-2xl font-black mb-8">Personal Details<!----><!---->

result :
Web element with id: ‘Object Repository/003-Personal details screen/Personal details headline’ located by ‘//div[contains(text(),‘Personal Details’)]’ not found

Make sure you WAIT until the element is visible: