Testing Solutions
Testing web components and using built-in support for Shadow DOM in test automation tools.
Cypress component tests for web components
How to run component tests for a Lit web component with Cypress.
Developing Components: Testing
Using @web/test-runner for testing web components in a real browser.
How To Automate Shadow DOM In Selenium WebDriver
Locating Shadow DOM elements using Selenium WebDriver in a Maven project.
Native Automation support for Shadow DOM — with WebDriverIO and Cypress
Conquer the Shadow DOM by using few open-source testing frameworks.
Shadow DOM support in Percy
Percy supports capturing Shadow DOM since Percy CLI v1.19.1-alpha.0 version.
Testing Shadow DOM elements in Selenium
In Selenium 4, there is now a way to access Shadow DOM nodes.
Test Web Components with Playwright
So you’ve created a native web component or two. How do you test them in popular browsers?
W3C Webdriver conquering automation of Shadow DOM
Overview of the Shadow DOM tree and its interaction with the W3C Webdriver.