Glass has three major characteristics: You can see through it (transparency), it changes the direction of light rays as they travel through it (refraction) and it reflects incoming light rays to a certain degree (glossiness).
As I already said, you can’t use any refractive shader in your example as it renders opaque in Cycles. That means the Glass shader is out. The Refraction shader as well. And also the Principled shader with an IOR <> 1.
So, your only option is to use a material that replicates at least two of the three characteristics of glass: And that is a Transparent shader plus a sharp Glossy shader, mixed e.g. by using Fresnel or Layer Weight > Facing as mixing factor.
Using just a Transparent shader would mean that you could as well delete the entire windshield/window pane, as it would be invisible anyway. And there is one thing that a glass pane is not: Invisible. Clear now?