I am working on an automation of a prestashop module.
There is a button that I cannot click on it.
Here is the screenshot and the xpath address element :
Here is the code to click on the button :
driver.findElement(By.xpath("//div[@id='seosa-excel']/div[@class='seosaexcel-content ng-scope']/div[@class='content ng-scope']/combinations-export-templates-form/form[@class='ng-pristine ng-valid ng-scope ng-valid-required']/div[@class='right-column ng-scope ng-isolate-scope']/div[@class='ng-scope'][3]/div[@class='text-right submit-group ng-scope']/button[@class='btn btn-success ng-scope']")).click();
And here is the error message after compilation :
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element <button ng-if="templateForm.selectedTemplate !== null" ng-disabled="!templateForm.form.$pristine" type="btn" ng-click="templateForm.export()" class="btn btn-success ng-scope" translate="...">Export</button> is not clickable at point (1848, 909). Other element would receive the click: <div id="footer" class="bootstrap">...</div>
And here is the html code matching the "export" button :
<button ng-if="templateForm.selectedTemplate !== null" ng-disabled="!templateForm.form.$pristine" type="btn" ng-click="templateForm.export()" class="btn btn-success ng-scope xh-highlight" translate="Export">Export</button>
I tried everything I can, but nothing works. It just doesn't click on the button.
Thank you in advance for your advices. Good day to everyone.