by way of (something or somewhere)

проходя/ проезжая мимо, по пути

Mary took a taxi and they drove to the station by way of the town square.

Другие идиомы: