title: Selenium Python - unable to press button, unique web code
body: <p>I've written web scraping scripts that worked in the past however I'm running into something new that I can't figure out on TradingView.  There are buttons in the chart that don't seem like buttons, at least the code is not able to press it.  I've attached the code from one of these buttons.</p>
  <pre><code>&lt;div class=&quot;control-bar control-bar__btn control-bar__btn--back-present apply-common-tooltip control-bar__btn--btn-hidden&quot; style=&quot;bottom: 33px; margin-right: 72px;&quot; xpath=&quot;1&quot;&gt;
      &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 14 14&quot; width=&quot;14&quot; height=&quot;14&quot;&gt;&lt;path fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; d=&quot;M6.5 1.5l5 5.5-5 5.5M3 4l2.5 3L3 10&quot;&gt;&lt;/path&gt;&lt;/svg&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I've  taken a screenshot also as Firefox shows <code>event</code> and <code>flex</code> in the code which I'm sure is relevant.</p>
  <p><a href="https://i.stack.imgur.com/mc9Hk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mc9Hk.png" alt="enter image description here" /></a></p>
  <p>Using</p>
  <pre><code>driver.find_element_by_xpath(&quot;//div[@class='control-bar control-bar__btn control-bar__btn--back-present apply-common-tooltip']&quot;).click() 
  </code></pre>
  <p>doesn't work.  I also tried using CSS.  Any help is greatly appreciated.</p>