Aug 24, 2022
Thanks sir, it's a good idea.
But Sir, I wonder why did you need location here. As far my experience, may be mush less than yours, I have seen that elements are scraped in order that is 1st element first. So, in case of primary and secondary phone example, being located first primary phone is fetched 1st and 2ndry is fetched after it. Even if it is loaded dynamically, selecting a contact as primary will load it in DOM at a position before the 2ndry contact.