title: How to get the opened popup?
body: <p>I'm developing an MS Edge extension (using JavaScript), which periodically refreshes current window using the following call:</p>
  
  <pre><code>window.location.reload(1);
  </code></pre>
  
  <p>When, however, the page I'm currently on was opened as a result of a previous <code>POST</code> request, the refresh request opens below popup:</p>
  
  <p><a href="https://i.stack.imgur.com/HRfnv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HRfnv.png" alt="enter image description here"></a></p>
  
  <p>I'm not sure how I can handle this popup and automatically simulate the <code>Retry</code> click.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>After struggling to find any info regarding this in different forums and documentation websites, I've decided to try to do the same in Google Chrome.
  It took me only 4 hours to accomplish what I was looking for thanks to the great documentation and community support. I'm posting this update with an intention to close the question as it's not needed for me any more.</p>