title: Identifying event bind with specific dom element inside iframe
body: <p>I'm trying to simulate "Download" button click event in this page
  <a href="https://www.icloud.com/photos/#0i8eO1va2PS_kZp0nKlJ3CG3A" rel="nofollow noreferrer">https://www.icloud.com/photos/#0i8eO1va2PS_kZp0nKlJ3CG3A</a></p>
  
  <p>the "Download" button is inside an iframe I try this code in browser console and I get result as undefined</p>
  
  <pre><code> $("iframe").contentWindow.document.querySelector(".primary-action span").trigger( "click" )
   $("iframe").contentWindow.document.querySelector(".primary-action span").click()
   $("iframe").contentWindow.document.querySelector(".primary-action").click()
  </code></pre>
  
  <p>and also when I check the element in devtool it does not show any event bind with the button element.</p>
  
  <p>does anyone how to click the button element inside this iframe ?</p>
  
  <p>Thanks.</p>