title: Cypress e2e testing: How to access new tab by clicking on "href". I don't have target attribute to remove and test on new opened tab?
body: <p><a href="https://i.stack.imgur.com/qVnCd.jpg" rel="nofollow noreferrer">This attached image is my HTML code for href which will open a new tab</a></p>
  <p>The DOM has iframe so I wrote below code accessed the href and it will open in new tab. I am unable to access the newly opened tab, though I know the method that would have target attribute so we remove that and open in same tab but here I don't have any target attributes.</p>
  <p>Please check this and help to access my new tab.</p>
  <pre><code>cy.visit('https://yopmail.com/en/')
  cy.get('.ycptinput').type('some_name {enter}')
  cy.wait(2000)
  cy.get('#ifmail').its('0.contentDocument.body').then(cy.wrap).find('a').click()
  </code></pre>