Web Component DevTools chrome extension

Version: 0.2.2
Web Component DevTools
Developer tooling for Web Components and Web Component Libraries
5.00 Based on 7 user rates

What is Web Component DevTools?

Web Component DevTools is a development tools extension for chrome. it's a free extension , it has 3,000+ active users since released its first version, it earns an average rating of 5.00 from 7 rated user, last update is 659 days ago.


What’s new in version 0.2.2?

                Developer tooling for Web Components and Web Component Libraries
Web Component DevTools is aimed at all developers working with Web Components. The tooling provided creates a new Chrome Devtools panel, which allows a quick look at the custom elements on the current page, and enables modification of  attributes and properties of said components.

Web Component DevTools utilizes the Custom Elements Manifest (https://github.com/webcomponents/custom-elements-manifest) to analyze the Web Components.


Features:

Web Component DevTools provides advanced features to the developer, straight from the browser's UI to, for example:

- Listing custom elements on the page, and accessible iframes inside the page
- Filtering custom elements on the list
- Inspecting and modifying the attributes of custom elements
- Inspecting and modifying the properties (even objects and arrays) of custom elements
- Observing dispatched events
- Calling functions of the custom element, and logging the return values
- View the source code of web components on page
- Interact directly with web components through the console



Why?

In the process of developing Web Components, wether it be with a library like Lit, or without any kind of library, there comes situtations in which you might want to have a bit more control over your components than what the regular browser devtools gives you.

You might for example want to:

Toggle the Attributes of the element
Toggle the Properties of the element
Monitor when events get dispatched from the element
Call functions
And when you're working with Web Components, Shadow DOM usually is present, making it fairly difficult to find the path to the element. And even if you got the path, having to write document.querySelector("my-selector-string > element-name").setAttribute("my-attr", "foo") every time you want to modify a value is quite cumbersome.

For this use case the Web Components DevTools were created: To enable the developer to easily modify the attributes, properties and therefore state of their element straight from the devtools window with the click of a button.




Issues:

Any issues you run into while using the DevTools should be submitted to the GitHub Repository (https://github.com/Matsuuu/web-component-devtools/issues).            

How to install Web Component DevTools?

You could download the latest version crx file or older version files and install it.


Preview of Web Component DevTools


Technical Features:

  • Latest Version: 0.2.2
  • Requirements: Windows Chrome, Mac Chrome
  • License: Free
  • Latest update: Wednesday, February 1st, 2023
  • Author: Matsuuu

Web Component DevTools Available languages:

English.


FAQ


Reviews of web component devtools:


G7 alt March 22nd, 2022
G7 alt

Thank you!


Elliott Marquez July 27th, 2021
Elliott Marquez

Excellent tool, gotta love the features it adds on top of Dev Tools


Josh Mabry July 18th, 2021
Josh Mabry

This is a fantastic addition to my web component development workflow

Read more review & comments of web component devtools