It’s not easy looking at the terminals of the dipper switch when it’s installed on the car.
But fairly easy to find out which is the input/common pole and which poles are for the hi-beam or low-beam when the dip switch is in your hand. The only thing you need to do is identify the input pole. Attach one end of the continuity tester to a pole. Touch the other two poles; only one will make contact, click the switch, try the other pole. If that then makes contact, then the pole that you first attached the tester to is the input pole, if not, then try the same steps again, but attach the tester to the next pole. You only have three poles, one of them has to be the input/common pole.