Widget

Web Automation

// Definition

A self-contained, reusable UI component — date picker, rich-text editor, file uploader, chart, or similar — embedded in a page or third-party surface. Testing a widget involves verifying its own behaviour (correct state transitions, keyboard accessibility, error states), its integration with the host form or page (does it emit the right value on change?), and edge cases specific to its type (date picker: leap years, min/max constraints; file uploader: MIME type and size limits). Third-party embedded widgets also require cross-origin and content-security-policy testing.

// Related terms