title: Click a button to display a text box in python selenium
body: <p>I am trying to click a button which un-hides another text box. The button click changes the script from</p>
  <pre><code>&lt;span id=&quot;incident.u_brand_edit&quot; style=&quot;display: none;&quot;&gt;
  </code></pre>
  <p>to</p>
  <pre><code>&lt;span id=&quot;incident.u_brand_edit&quot; style&gt;
  </code></pre>
  <p>Following is the button HTML</p>
  <pre><code>&lt;button class=&quot;btn btn-default btn-ref&quot; type=&quot;button&quot; aria-labelledby=&quot;incident.u_brand_title_text&quot; 
  data-target=&quot;#incident\.u_brand&quot; title=&quot;&quot; tabindex=&quot;0&quot; id=&quot;incident.u_brand_unlock&quot; 
  data-type=&quot;glide_list_unlock&quot; data-ref=&quot;incident.u_brand&quot; data-auto-close=&quot;false&quot; 
  data-placement=&quot;auto&quot; style=&quot;margin-right: 5px;&quot; list-read-only=&quot;false&quot; 
  data-original-title=&quot;Unlock Brand&quot;&gt;&lt;span class=&quot;icon icon-locked&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;&lt;/button&gt;
  </code></pre>
  <p>I am trying to achieve this using the following code</p>
  <pre><code>driver.find_element_by_id(&quot;incident.u_brand_unlock&quot;).click()
  </code></pre>
  <p>Also tried this</p>
  <pre><code>driver.find_element_by_id(&quot;incident.u_brand_unlock&quot;).send_keys(&quot;\n&quot;)
  </code></pre>
  <p>The above codes are focusing on the button but it's not clicking and the text box is not unhiding to perform further operations.</p>