I am currently working on a test case that involves closing a JavaScript popup. The code functions correctly in a Windows environment, but when I try to deploy it on a CentOS based server, I encounter the following error:
Element is not clickable at point (719, 9.899993896484375). Other element would receive the click: <li style="display: block; bottom: 0px;"
Could someone help me identify the potential cause of this issue?
I have attempted the following solution, however, it was unsuccessful:
FirefoxProfile p = new FirefoxProfile();
p.setPreference("browser.popups.showPopupBlocker", false);
p.setPreference("browser.history.allowPopState", false);
p.setPreference("privacy.popups.showBrowserMessage", false);
p.setPreference("privacy.popups.usecustom", false);
driver = new FirefoxDriver(p);