It is not that bad as of 5 years ago. You can email various dealerships and ask them to contact you if they are willing to sell at $x. If you are more desperate, you can ask them to email you their best offer. I was in and out in about 2 hours, just filled out forms based on what was discussed in the email and browsed on my phone in the meantime.
You can even see the inventory online at the car brands' websites. Although that may have changed in the last 18 months due to extreme imbalance in supply and demand.