@mmd23
I suggest utilizing a "for each" loop instead of a standard loop. Additionally, I noticed that you are interacting with the browser using Windows automation actions (such as "Click UI element on window"), which may not be the most appropriate approach[You can use "Click link on web page" or "Go to web page"].
Therefore, I've created a similar flow tailored to your use case. Please review it and see if it resolves your issue.

Code[Just for your reference]:
WebAutomation.LaunchChrome.LaunchChrome Url: $'''https://afd.calpoly.edu/web/sample-tables''' WindowState: WebAutomation.BrowserWindowState.Normal ClearCache: False ClearCookies: False WaitForPageToLoadTimeout: 60 Timeout: 60 PiPUserDataFolderMode: WebAutomation.PiPUserDataFolderModeEnum.AutomaticProfile BrowserInstance=> Browser
WebAutomation.ExtractData.ExtractHtmlTable BrowserInstance: Browser Control: $'''html > body > div:eq(1) > div:eq(0) > table:eq(1)''' ExtractionParameters: {[$'''Name''', $'''Telephone''', $'''Email''', $'''Office'''], [$'''''', $'''''', $'''''', $''''''] } PostProcessData: False TimeoutInSeconds: 60 ExtractedData=> DataFromWebPage
LOOP FOREACH CurrentItem IN DataFromWebPage
WebAutomation.Click.Click BrowserInstance: Browser Control: appmask['Web Page \'https://afd.calpoly.edu/web/sample-tables\'']['Anchor \'Lorem ipsum dolor\''] ClickType: WebAutomation.ClickType.LeftClick MouseClick: True WaitForPageToLoadTimeout: 60 MousePositionRelativeToElement: WebAutomation.RectangleEdgePoint.MiddleCenter OffsetX: 0 OffsetY: 0
WebAutomation.GoToWebPage.GoToWebPage BrowserInstance: Browser Url: CurrentItem WaitForPageToLoadTimeout: 60
WebAutomation.ExtractData.ExtractHtmlTableInExcel BrowserInstance: Browser Control: $'''html > body > div:eq(1) > div:eq(0) > table:eq(4)''' ExtractionParameters: {[$'''Day''', $'''Time''', $'''Location'''], [$'''''', $'''''', $''''''] } PostProcessData: False TimeoutInSeconds: 60 ExcelInstance=> ExcelInstance
WebAutomation.GoToWebPage.NavigateBack BrowserInstance: Browser WaitForPageToLoadTimeout: 60
END
Excel.SaveExcel.Save Instance: ExcelInstance
How to copy/paste above suggested code into your power automate?

Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏