I do have to fetch all 21 values and print it on console which are under div tag. When i am writing path //div[@class='grid']/div/div[1], its giving me 21 div tags(elements) as a result and each of div tag contains anchor tag which having some text and that text want to print on my console.
Here is the code:
//div[@class='grid-canvas']/div/div[1] --Giving 21 elements. And when i expand this div tag, it's like as below shown..
Which contains tag. Manager Which contains tag. EmployeeI want to print on console the text of all 21 elements, such as Manager, Employee and so on. Please anyone can help me out?. Thanks!!