Not able to find the element using xpath untill I inspect it


#1

I am trying to click on a button using xpath but when i try to get the element in browser console with the xpath I am not able to get It untill and unless i inspect the button . Please help


#2

Hi Naveen, that’s correct, to get the xpath you need to inspect the element.

Or you can use a special plugin for finding xpaths.