may be use a generic selector like below and then use for each ui element or find children and use get attribute inside for each ui element
<html app='chrome*' />
<webctrl tag='A' />
cheers
may be use a generic selector like below and then use for each ui element or find children and use get attribute inside for each ui element
<html app='chrome*' />
<webctrl tag='A' />
cheers