title: How to handle new tab in cypress .If sub domain is dynamic?
body: <p>URL:-   <a href="https://localhost:8008/" rel="nofollow noreferrer">https://localhost:8008/</a></p>
  
  <p>Sub domain URL:  <a href="https://localhost:8008/datasearch?actionId=772675" rel="nofollow noreferrer">https://localhost:8008/datasearch?actionId=772675</a></p>
  
  <p>I am not able handle new tab in cypress as cy.visit('<a href="https://localhost:8008/datasearch?actionId=772675" rel="nofollow noreferrer">https://localhost:8008/datasearch?actionId=772675</a>')  as action id keeps on changing after entering data and click on submit button.As subdomain opens on new tab.I need to check the assert the output that is opening in new tab.</p>
  
  <p>Regards</p>
  
  <p>Kushal</p>