InterviewSolution
Saved Bookmarks
| 1. |
How do you write an Xpath locator to identify paragraph elements that are the immediate child of a div element, or the descendent of a div element? |
|
Answer» An immediate child in XPath is indicated using “/”. To find paragraph elements that are descendants to any div element. We can use “//” in the XPath. |
|