title: Ability to prevent/stop loading 'Page load' in Cypress when clicked a hyperlink
body: <p>In my Cypress test,
  I need to test a link which <strong>downloads</strong> a .txt, .xlsx and a .zip file when clicked, but when I use &quot;click()&quot; to click the hyperlink, it starts a page load and expects a new action to happen as a result of clicking a link.</p>
  <p><img src="https://i.stack.imgur.com/2j1Sy.png" alt="Here is a screenshot of the issue described above" /></p>
  <p>As an alternative to this I tried using the <code>cy.downloadFile()</code> to download the files directly through the link but the link I am using is dynamically generated hence I am unable to use that as well. Hence I want to store the newly generated link in the variable and then use it in <code>cy.downloadFile()</code> every time I run the test.</p>
  <p>Are there any other ways to test a hyperlink or how to store the dynamically generated link every time the test is run?</p>