title: Clicking on a custom element with Selenium (RSelenium)
body: <p>I need to click on an element with the following unique identifier:</p>
  <pre><code>&lt;mat-icon
  class=&quot;mat-icon notranslate icon-arrow-down-tail mat-icon-no-color&quot;
  fontset=&quot;icon-arrow-down-tail&quot;
  role=&quot;img&quot;
  aria-hidden=&quot;true&quot;&gt;
     ::before
  &lt;/mat-icon&gt;
  </code></pre>
  <p>I <em>think</em> this is the proper way to select a custom-element in RSelenium:</p>
  <pre><code>down &lt;- remDr$findElement(using=&quot;xpath&quot;, value=&quot;//mat-icon[@class='mat-icon.notranslate.icon-arrow-down-tail.mat-icon-no-color']&quot;)
  </code></pre>
  <p>The element is located in an iframe. I've switched to the iframe, but I imagine there could still be something more complex going on. I'm trying to narrow down what the source of the problem is.</p>
  <p>So, my question is: did I properly select a custom element?  If not, how do I do that?  If I know I selected it properly, I can figure out where else to debug...</p>
  <p>(Website is proprietary/requires a login or I'd share it).</p>