Getting error while trying to click a link, but able to click the link | Selenium Forum
P
Pinki Daga Posted on 07/11/2019

I am trying to login in flipkart -login link is clicked but still getting error.

"element click intercepted: Element <div class="dHGf8H">...</div> is not clickable at point (655, 28). Other element would receive the click: <div class="_1XBjg- row">...</div>"

PFB the screenshot for login page, I do not see any div class mentioned in error.


A
Ashish Thakur Replied on 08/11/2019

This is because the login window comes by default when you navigate to the webpage

It coms without clicking on login link

Just run this script and analyse

 

System.setProperty("webdriver.chrome.driver", "D:\\drivers\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("https://www.flipkart.com/");


P
Pinki Daga Replied on 11/11/2019

Hi, thanks for the reply

1. but i simply opened flipkart - login window is not coming 

2. also why am getting above error , i tried with different web elements around login link, but getting same error


A
Ashish Thakur Replied on 13/11/2019

Open with scipt

login window will come by default


A
Ashish Thakur Replied on 13/11/2019

Open with scipt

login window will come by default


A
Ashish Thakur Replied on 13/11/2019

Open with scipt

login window will come by default


A
Ashish Thakur Replied on 13/11/2019

Open with scipt

login window will come by default