title: Not able to click on "SAVE" Bbutton in Python Selenium - Chrome
body: <p>Hi I do have the below codes for the Save Button that needs to be clicked using Python Selenium.</p>
  <pre><code>1 &lt;button ngcontent-jkv-c423-&quot; &quot; type=&quot;button&quot; mat-raised-button=&quot; &quot; id=&quot;btnSave&quot; class=&quot;mat-focus-indicator mat-raised-button mat-button-base mat-none mat_animation-noopable ng-star-inserted&quot; data-dtname=&quot;Work.save&quot;&gt; 
  2 &lt;span class=&quot;mat-button-wrapper&quot;&gt;
  3 &lt;span ngcontent-jkv-c423=&quot;&quot; data-dtname=&quot;Work.save&quot;&gt;
  4 &lt;i _ngcontent-jkv-c423-&quot;&quot; aria-hidden=&quot;true&quot; class=&quot;fas fa-save&quot;&gt;
  5 &lt;/i&gt; 
  6 &quot;Save &quot;
  7 &lt;/span&gt;
  8 &lt;/span&gt;
  9 &lt;span matripple=&quot; &quot; class=&quot;mat-ripple mat-button-ripple&quot;&gt;
  10 &lt;/span&gt;&lt;span class=&quot;mat-button-focus-overlay&quot;&gt;&lt;/span&gt;
  11 &lt;/button&gt;
  </code></pre>
  <p>T tried the following codes:</p>
  <pre><code>1 driver.find_element_by_xpath(&quot;//span[contains(text(),'Save ')]&quot;).click()
  2 driver.find_element_by_class_name(&quot;fas fa-save&quot;).click()
  3 driver.find_element_by_class_name(&quot;//span[@data-dtname='Work.save']&quot;).click()
  </code></pre>
  <p>But all the above codes are throwing errors.</p>
  <p>Is there any alternative ways to do this??</p>
  <p>Thanks in advance.</p>