title: Not able to click a button using Selenium and Java. It has "style=display: none" in html which is causing issue
body: <p>I have tried with different xpaths etc but not able to click a 'Continue' button in my application. Following is one of the attempt to handle the same:-</p>
  
  <pre><code>WebDriverWait wait2 = new WebDriverWait(driver,20);
      WebElement continueBtn = wait2.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@type = 'submit' and @class = 'btn btn--primary']")));
  </code></pre>
  
  <p>When I inspect element I find follwing details in it: -</p>
  
  <pre><code> &lt;button class="btn btn--primary" type="submit" data-bind="enable: !processing() &amp;amp;&amp;amp; !$root.accountLocked()"&gt;
              &lt;svg xmlns="http://www.w3.org/2000/svg" class="icon shape--loader" style="display: none;" viewBox="0 0 16 16" focusable="false" data-bind="visible: processing()"&gt;
                  &lt;title&gt;Processing&lt;/title&gt;
                  &lt;use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#shape--loader" /&gt;
              &lt;/svg&gt; 
              Continue
          &lt;/button&gt;
  </code></pre>
  
  <p>The error thrown is as follow:-
  Exception in thread "main" org.openqa.selenium.TimeoutException: Timed out after 20 seconds waiting for element to be clickable: By.xpath: //*[@type = 'submit' and @class = 'btn btn--primary']</p>
  
  <p>However the object/element was already loaded so not sure why it couldn't click the element. </p>
  
  <p>I also tried JavaScript executor but to no avail.</p>
  
  <p>Please help me resolve it. Thanks in advance !!!</p>