Shadow Dom - Interactive Web Components - Instructions

A counter widget with its own internal structure and styles, completely isolated from the page.

Functionality

This counter can be incremented or decremented by pressing the button.

The counter can also be reset to zero by clicking the reset button.

Automating

Try to automate the component and assert that you can increment and decrement the values.