webtable=driver.find_element_by_class_name("dojoxGridScrollbox")
for row in webtable.find_elements_by_xpath("//*[@id='dojox_grid__TreeView_1']/div/div/div/div[1]/table/tbody/tr"):
print(row.text)
driver.implicitly_wait(5)
#assert webtable.row.text== name
assert driver.row.find(name)
Traceback (most recent call last):
File "C:\Users\rajesn\eclipse\Pyhton\GUI_Automation\GuiAutomationTest.py", line 11, in <module>
obj.peer_node()
File "C:\Users\rajesn\eclipse\Pyhton\GUI_Automation\gui_Module.py", line 83, in peer_node
assert driver.row.find(name)
AttributeError: 'WebDriver' object has no attribute 'row'