I don't believe that legally they follow any different traffic laws, and they will usually yield for you if they're turning into your lane, and should yield whenever a car would (subject to custom signage for the tram etc.).
But in practice they operate under "Bitch, I'm a tram!" rules, and you'll need to be really assertive if you're going to get them to yield when they legally should, but the same goes for taxis.
Sorry, to clarify (and I may be wrong). I'm talking about situations where the tram acts contrary to traffic signs.
Per my (translated) reading of the law[1] (article 15, subsection 1 & 2) trams only take priority over the "priority to the right" rule, but not other posted traffic signs.
So for example [2] is an intersection where I've often seen the tram go past a yield sign and cut off traffic on the left.
But in practice they operate under "Bitch, I'm a tram!" rules, and you'll need to be really assertive if you're going to get them to yield when they legally should, but the same goes for taxis.