I disagree. I would struggle to get many senior dev roles in companies due to gaps in my knowledge (e.g. TDD, Agile or whatever PM style they use). As a freelancer/contractor however I can pick roles that only require skills I'm very good at and can therefore charge senior rates.
NB: This is if you were defining junior/senior based on pay. Hard to tell from your comment if you were.
NB: This is if you were defining junior/senior based on pay. Hard to tell from your comment if you were.