xpath - selenium can't find the element -



xpath - selenium can't find the element -

i'm testing webapp using selenium webdriver, driver can't find element, element's style set display:none visible,and i'm using xpath retrieve element here xpath

by.xpath(".//*[@id='box']/table/tbody/tr[3]/td[4]")

please advise.

many thanks

the tbody looks suspicious me. implicitly inserted browsers. don't know uses in html.

therefore, seek xpath without it:

by.xpath("//*[@id='box']/table/tr[3]/td[4]")

if doesn't help: add together (x)html snippet?

xpath

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -