title: Checking to see if the caption button was clicked on google meet using a chrome extension
body: <p>I'm currently making a chrome extension for google meet and am trying to detect if the caption button was clicked. I currently have this code:</p>
  <pre><code>const button = document.getElementsByClassName('VfPpkd-Bz112c-LgbsSe fzRBVc tmJved xHd4Cb rmHNDe Qr8aE')[0];
  
    button.addEventListener('click', () =&gt; {
    
  console.log('clicked');
    
  });
  </code></pre>
  <p>This is working if I directly inject it into the console but not from the chrome extension. Any help would be greatly appreciated!</p>