0

I am getting this error after login to the landing page and i am unable to identify the element through the xpath. I have tried all the solutions available through Surfing Like but nothing is working for me Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Element ... is not clickable at point (35, 37). Other element would receive the click:

  • 1.driver.manage().window().maximize(); – Hrishikesh Oct 19 '18 at 06:34
  • 2.WebElement element = driver.findElement(By("element")); Actions action = new Actions(driver); action.moveToElement(element).click().perform(); – Hrishikesh Oct 19 '18 at 06:34
  • JavascriptExecutor js = (JavascriptExecutor)driver; // if the element is on top. js.executeScript("scroll(250, 0)"); // if the element is on bottom. js.executeScript("scroll(0, 250)"); – Hrishikesh Oct 19 '18 at 06:35
  • You can also try the below using X or Y position WebElement element = driver.findElement(By.id("")); JavascriptExecutor js =(JavascriptExecutor)driver; js.executeScript("window.scrollTo(0,"element.getLocation().x+")"); element.click(); Or WebElement element = driver.findElement(By.id("")); JavascriptExecutor js =(JavascriptExecutor)driver; js.executeScript("window.scrollTo(0,"element.getLocation().y+")"); element.click(); – Hrishikesh Oct 19 '18 at 06:35
  • but nothing is working for me – Hrishikesh Oct 19 '18 at 06:35

0 Answers0