title: Powershell send f5 key to edge
body: <p>Im trying to create a script that refresh edge:</p>
  <pre><code>start microsoft-edge:https://login.salesforce.com/?locale=eu
  $wshell = New-Object -ComObject wscript.shell;
  $wshell.AppActivate('Microsoft Edge') 
  
  while ($true)
  {
  Sleep 15
  $wshell.SendKeys('{f5}') 
  }
  </code></pre>
  <p>Problem for this that it sends F5 to which windows im at for example if im in notepad it will press f5 it will create timestamp, i want it to send only to edge, is there any way around it?</p>