Web elements
SVG elements
Interactive SVG shapes and text. Locators behave differently inside <svg>; learn the namespace gotchas.
Practice tasks
- Click each circle and assert the label.
- Locate shapes via CSS (svg circle) and XPath using local-name().
- Assert the rect fill attribute changes on click.
- Read the <text> content.
More Web elements practice
- Text inputs & forms
- Radios, checkboxes & switches
- Dropdowns & autocomplete
- Date pickers
- Sliders & ranges
- File upload & download
- Alerts, modals & popups
- Hover, menus & tooltips
- Mouse & keyboard actions
- Drag & drop
- iFrames & windows
- Shadow DOM
- Tabs & accordion
- Notifications & add/remove
- Scrolling & infinite scroll
- Links, redirects & images