Getting window name attribute in multiple identical tabs

Hi,
Im trying to open multiple identical tab and get their window name. I can get it using ctrl+j then type window.name and scrape the data but it takes a lot of time.
I tried using get attribute activity in loop but it only retrieves the first tab’s window name.
What should i do to optimize my process?

if taking tab name is the task then you can try using this

But if it is moving around different tabs then while opening the tab itself you can store it in UiBrowser element variable . This variable can be used in attachbrowser later .