c# - FindElements returns 0 event Text property has value -


i'm trying go through cells in table

 var rows = d.findelementsbyxpath(@"//table[@id='table2']/tbody/tr");   foreach (iwebelement r in rows)  {       var cells = r.findelements(by.name("td"));  } 

the cells collection empty see text values cells in row text property. missing ? see cells in browser. i'm using chromedriver.

by.name looking name attribute, example

<a id="id" name="name"> 

uses:

findelements(by.name("name")); 

to locate tag use by.tagname

var cells = r.findelements(by.tagname("td")); 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -