Dominated Strategies in an Infinitely vs Finitely Repeated Game
A usual refinement concept used to deal with weakly dominated strategies is the trembling hand perfect equilibrium. (I do not know others but this one works quite well.

The strategy in question is indeed weakly dominated by the following strategy


In the first period, player plays $B$.
In all other periods, player plays $A$.