jest-puppeteer
jest-puppeteer copied to clipboard
Web components
🚀 Feature Proposal
Matching elements inside web components.
Motivation
Current way of matching elements (using querySelectorAll
does not find any elements that are placed inside a web component. I.e. puppeteer's waitForSelector
method works fine.
Example
Example in related article
Pitch
As a user it makes perfect sense to me to use toMatchElement
and to expect an element to be found.