title: Button with attribute 'data-mfp-src' sometimes don't clicks in selenium
body: <p>Well, My html code is</p>
  <pre><code>&lt;button class=&quot;header-nav__get-result popupBtn&quot; data-mfp-src=&quot;#popupResult&quot; onclick=&quot;(dataLayer = window.dataLayer || []).push({'pPath': location.pathname + 'virtual/send-results/', 'event': 'GAPageview'});&quot;&gt;
          &lt;div class=&quot;icon-analysis-wrapper&quot;&gt;
              &lt;svg class=&quot;icon icon-analysis&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 203.7 272.16&quot;&gt;
                  &lt;path class=&quot;icon-analysis__colba&quot; d=&quot;M158.34,238.56,100.88,147v-28.7h20.06V88.49H40.88v29.8H60.72V147L6.22,238.56a20.06,20.06,0,0,0,17.36,30.1H141A20.07,20.07,0,0,0,158.34,238.56Z&quot;&gt;&lt;/path&gt;
                  &lt;path class=&quot;icon-analysis__liquid&quot; d=&quot;M158.34,238.56l-24.73-39.41h0l-5.87-9.35c-13-1.27-26.24-1.44-40.06,1.91-8.5,2.06-13.67,5.08-21.07,8.41a63.6,63.6,0,0,1-26.21,5.73,50.58,50.58,0,0,1-13.69-1.71l-5.13,8.6h0L6.22,238.56a20.06,20.06,0,0,0,17.36,30.1H141A20.07,20.07,0,0,0,158.34,238.56Z&quot;&gt;&lt;/path&gt;
                  &lt;path class=&quot;icon-analysis__bubble3&quot; d=&quot;M200.2,95.32a20,20,0,0,1-40,.9q0-.45,0-.9a20,20,0,0,1,40,0Z&quot;&gt;&lt;/path&gt;
                  &lt;path class=&quot;icon-analysis__bubble2&quot; d=&quot;M166.22,27.65a24.64,24.64,0,1,1-49.27,1q0-.49,0-1a24.64,24.64,0,0,1,49.27,0Z&quot;&gt;&lt;/path&gt;
                  &lt;path class=&quot;icon-analysis__bubble1&quot; d=&quot;M81.51,49a15.41,15.41,0,0,1-30.82,0c0-7.67,6.91-15.41,15.41-15.41A15.42,15.42,0,0,1,81.51,49Z&quot;&gt;&lt;/path&gt;
                  &lt;path class=&quot;icon-analysis__bubble0&quot; d=&quot;M92.28,163.17a10,10,0,1,1-10-10A10,10,0,0,1,92.28,163.17Z&quot;&gt;&lt;/path&gt;
              &lt;/svg&gt;
          &lt;/div&gt;
      &lt;span&gt;Get results&lt;/span&gt;
  &lt;/button&gt;
  </code></pre>
  <p>When I try to click this button, it fails, because clicking isn't working.</p>
  <pre><code>        final By locatorButtonGetResults = By.xpath(&quot;//div[@id='bvi-block']/header/div[@class='header-bottom']/button[@class='header-nav__get-result popupBtn']&quot;);
          WebElement buttonGetResults =
                  wait.until(ExpectedConditions.elementToBeClickable(locatorButtonGetResults));
  
          final Actions actions = new Actions(driver);
          actions.moveToElement(buttonGetResults).click(buttonGetResults).build().perform();
  </code></pre>
  <p>I've tried to click by clicking on the buttonGetResults and JavascriptExecutor. The both methods are failing too. What is wrong? What should I do to pass the test?</p>