In Selenium I am trying to locate an element. But getting the below error:
org.openqa.selenium.WebDriverException: Element is not clickable at point (1009.25, 448.183349609375). Other element would receive the click: <rect data-sdf-index="7" height="390" width="420" class="aw-relations-noeditable-area"></rect> (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 12 milliseconds
Getting this error in firefox
. But its working successfully in Chrome
browser.
Is anyone having solution for it?
I already tried help from this post:-Selenium "Element is not clickable at point" error in Firefox but not able to get the result.
I have written below code:
public void createPortOnSelectedNode( String nodeName ) {
ISingleLocator m_nodeContainer = m_nodePage.getNodeContainer();
WebElement node = m_nodePage.getNode( m_nodeContainer, nodeName ).getElement();
Actions action = new Actions(DefaultDriver.getWebDriver());
action.moveToElement(node, 40, 0);
action.click();
action.perform();
}