While interviewing for jobs, I found some employers which were not willing to share their salary range for a position I was interviewing for. When I asked them: "What is the salary range for this position?" they would usually say: "That depends on the seniority level the person displays through the interview.". A response I haven't tried yet, but could is: "Assume I'm a mid level developer. What is the salary range for mid-level developers?".
I don't really understand why some employers won't share the amount of money they will pay for a position. I mean, I do know it to some degree: they want to pick the "best bang for the buck" candidate and so they ask all candidates that question. Honestly, I think this is manipulative towards the candidates and is dishonest, provided that employers do know how much money they are willing to pay (which I think they do, unless they are extremely disorganized, which is a red flag).
How can I get the employer to tell me their salary range for a position?