If it’s a buyer’s market then employers can say “work in the office” - take it or leave it.
Also, you got to be confident and toughen up before your interviews, because even if some would be interesting, constructive done in a pleasant way by nice people, many will be nasty. I got through many interviews were there were several people acting like machine guns, spitting dozens of sometimes silly questions just trying to catch me with a mistake.
Boy, how much I would wanted to switch roles a bit and show them that is not a constructive way to lead an interview.
The process is kind of random. I aced all the coding tests but ultimately I ended up accepting the offer from the only company which did not make me do a coding test.
IMO, the smartest engineers can identify talent without relying on the outcome of a coding test. Coding tests are shallow and misleading; they don't evaluate the skills that really count.
I went through about 15 interviews and applied to maybe 50 positions.