Can someone please help me to inspect proper element? I am doing automation testing(java, selenium) and i find the element but when I write CLICK command but my test failed.
Notice: WAIT command and IF condition are recognizing inspected elements, but when i give command CLICK i got error. Elements are not clicktable. I try to inspect on 3 ways:
1.driver.findElement(By.linkText("Contact")).click();
2.driver.findElement(By.xpath("//*[@id='pages-3']/ul/li[2]/a")).click();
3.driver.findElement(By.cssSelector("li.page_item.page-item-155")).click();
Reproduction steps: 1. http://mildsgn.com/
- Click on "About Us" button
- Scroll down page to the "Useful Links" menu.
4. Click on "Contact" button - ERROR - Element ... is not clickable at point (1289, 69)..
I want to click on "Contact"button from "About Us" page.
Thanks in advanced.
Aucun commentaire:
Enregistrer un commentaire