Developer tooling for web components and web component libraries.
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).
You can Follow the below Step By Step procedure to install the Web Component DevTools Chrome Extension to your Chrome Web browser.
It is the Web Component DevTools Chrome extension download link you can download and install Chrome Browser.
Tags: Filtering Custom Elements , Dispatched Events , Custom Elements , Component Devtools , Web Component , Browser Devtools , Attributes Properties , Web Component Devtools , Element Straight , Regular Browser Devtools , New Chrome Devtools Panel , Custom Element , Listing Custom Elements , Web Components Devtools , Developer Straight , Web Component Libraries , Web Components ,
Chrome DevTools extension for debugging Muban applications.
Angular DevTools extends Chrome DevTools adding Angular specific debugging and profiling capabilities.
Browser devtools extension for debugging Svelte applications.
Add shortcuts to easily debug your Angular application.
For inspecting Lightning apps
Developer Tool to analyze Svelte apps and list component trees, state, and render timing
Chrome and Firefox devtools extension for debugging FicusJS applications
To use, type 'ltng' plus the name or keyword of a Lightning Component
Enables you to easily find Sencha Ext JS Components from DOM elements and generates various locators for them.
Adds React debugging tools to the Chrome Developer Tools. Created from revision 336ac8ceb on 7/13/2022.