Text Elements
This paragraph has a class attribute.
This is a span with a title attribute. Important textYouTube XPath Playlist Demo Site
This page is designed for Selenium/TestNG training videos. It includes IDs, classes, data attributes, forms, tables, lists, nested cards, dynamic text, and XPath axis examples.
Use this area to explain how XPath can capture headings, paragraphs, links, buttons, images, lists, and nested content.
This paragraph has a class attribute.
This is a span with a title attribute. Important textImage can be captured using alt, src, or data attributes.
Use this section to compare XPath strategies: id, class, name, placeholder, value, title, aria-label, data-testid, starts-with, contains, and text.
4500
7500
Good for teaching parent, child, following-sibling, preceding-sibling, and cell-based XPath.
| Student ID | Name | Course | Status | Action |
|---|---|---|---|---|
| ST-001 | Kasun Perera | Selenium | Active | |
| ST-002 | Nimali Silva | TestNG | Pending | |
| ST-003 | Ruwan Fernando | XPath | Inactive |
This section is intentionally structured for teaching ancestor, parent, child, descendant, following-sibling, preceding-sibling, following, preceding, and self axes.