title: Protractor + Safari non-secure form warning
body: <p><strong>os:</strong> <code>OS X El Capitan</code></p>
  
  <p><strong>node:</strong><code>v5.4.1</code></p>
  
  <p><strong>protractor:</strong> <code>3.3</code></p>
  
  <p><strong>safari:</strong> <code>9.0.3</code></p>
  
  <p>I'm getting a security warning popup in in my test and I was wondering if there is a way to get around it in any fashion. The popup security warning doesn't seem to come up on chrome and <code>browser.switchTo().alert();</code> doesn't seem to work?</p>
  
  <p>this is what the alert/security warning looks like</p>
  
  <p><a href="https://i.stack.imgur.com/M2KJR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M2KJR.png" alt="enter image description here"></a></p>
  
  <p>Apparently they block mixed content and it doesn't seem like there is an option anymore to change </p>
  
  <p><a href="https://discussions.apple.com/thread/7235380?start=0&amp;tstart=0" rel="nofollow noreferrer">Why is mixed content blocked in Safari </a></p>
  
  <p>I have tried to press Tab then Enter b/c that works manually but it seems to give an error when i use this code</p>
  
  <pre><code>browser.actions().sendKeys(protractor.Key.TAB).sendKeys(protractor.Key.ENTER).perform();
  </code></pre>
  
  <p><code>
  Failed: Unknown command: {"id":"z4v9sab7uay","name":"sendKeysToActiveElement","parameters":{"value":[""]}} (WARNING: The server did not provide any stacktrace information)
  </code></p>