title: Testing URL Redirect Using Selenium
body: <p>I want test if a web site URL will redirect to secured site or not. For example, if I type <code>example.com</code> in the address bar, it should redirect to <code>https://example.com</code>.</p>
  
  <p>From Selenium, I tried using both <code>get("")</code> and <code>navigate("")</code> with no luck. It shows an exception as wrong URL. How can I test this or proceed another way?</p>
  
  <p>Even Javascript will not work. </p>