Open dereklin opened 1 year ago
Looks like it doesn't. I was able to get more output using:
console.log(webComponent.nativeElement.shadowRoot.innerHTML);
Thx a lot for reporting this. Can you try if it works when you enable comments printing?
phl(fixture, true);
Hi @kreuzerk , phl(fixture, true)
is not printing out the shadowRoot either
I am also looking for this feature
I am currently debugging a jest test where I am using phl on a component that renders a web component that uses #shadow-root. I am not seeing any #shadow-root or its children when using phl.
I am wondering if phl will print out #shadow-root like how it is displayed in chrome dev tool. (the web component might not be rendered correctly in the test)