I'm a web developer with two years of professional experience - I spent most of this time being relatively underpaid*. It has put a strain on my motivation and to some extent, on my life, and because of it, I want my next job to be more benefitting.
Currently, I'm looking for a job and already secured two interviews, with more being potentially possible in the future. I really want to move on in life, for which I need a better salary, and I don't want to waste my time on companies that wouldn't provide that.
I've already had interviews in the past in which I was asked about my desired salary; is it okay to do the other way around? That I ask them about what salary they aim to provide? Or this decision is definitely left for later steps in the recruitment process?
* For the record, I don't have a formal degree in CS or any related field which may have an impact on it.