I have used Get Text activity in amazon website to get a products ASIN number. The Asin number provided as a list tag in one page and it is given in a table in another page. I am able to get text using different activity and selectors for each page . How to use a single selector for both these pages.
Use Pick Branch activity. This will give you option to get text from multiple selectors. So whatever selector available on the screen, bot will extract from it.
as you already mentioned it can appears within two different structures:
table
ul/li lists
when both structures are differing too much maybe it is better to implement both extraction types seperated and selecting on runtime which one is to use
feel free to share with us two links (one for table structure, one for list structure) and we will have a second look on this