Two issues that come to mind:
Firstly the selector is missing quotation marks around the CurrentItem -variable.
Change to:
Second issue is that Extract data from webpage is extracting a datatable variable. So your CurrentItem is one row of that data table. You are using that on a selecetor that is expecting a text value. So it tries to find <a> that has text which includes datatable row.
You can fix this in two ways:
1. Add Set variable to the beginning of the For each -loop that takes in the text value that you want to have in CurrentItem. Do it like so:
=ReadCell(CurrentItem,1)
In Power Fx indexing starts at 1 so that would read first columns value from the CurrentItem that is Datarow -type (contains one row from a table).
Now that should work in the CurrentItem.
Remember to add quotation marks around the CurrentItem in the Selector
Second method to fix this: Convert the ListNames -datatable into a list with Retrieve data table column into list -action. This way it will be just array of text items and you don't need to use ReadCell on it.
Then the use that in the For each loop and the CurrentItem should be text variable that you can use in the selector.