I am trying to find an element By.cssSelector("#e1")
. On this website : SALESFOCE.COM.
I am trying to find an element on this first button(image below), which is a <div>
.
From java, I tried By.xPath and By.cssSelector but every time I am getting No such element exception. I also used Implicit and explicit wait still getting same exception.
But if I find using inspect element than it highlights the element.