Web elements
Drag & drop
HTML5 drag and drop: a single draggable, a sortable list and a matching game.
Practice tasks
- Drag the box into the drop zone and assert it turns green.
- Reorder the list so “Gamma” is first and read the order.
- Match all three shapes to their holes.
- Try dragging with both locator.dragTo() and manual mouse moves.
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
- iFrames & windows
- Shadow DOM
- Tabs & accordion
- Notifications & add/remove
- Scrolling & infinite scroll
- Links, redirects & images
- SVG elements