Warne got Dravid consistently and his numbers against Pakistan are great, it's only Sachin who can dominate him there and no one else is a guaranteed success against Warne.
Root, Miandad, Botham, Knott, Dravid are all as vulnerable to Warne as others, and given Dravid's record against Warne, I don't think Warne would struggle much as long as the pacers target Sachin. Also, at no point does the OP say these teams are even playing a test match, he just asks which team is stronger, nothing about a test match whatsoever, let alone a test match in India. Team A is clearly the stronger bowling overall, McGrath>Warne>Imran>Bumrah, Cummins and Lillee are equal bowlers to Waqar and Wasim if not a little better. Team A is a stronger unit.
Winning in massively-favouring home conditions is not evidence of being a superior side, there's a high probability that Kohli's India can beat Ponting's Australia in home conditions at their peak, doesn't mean they are a better side because of that.