garris / garris/BackstopJS

Accessing shadow dom elements

Open
#1,308 5 comments 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

How I can access elements inside a shadow dom with Backstop js?

I did try to access a shadow dom element like any other element but the element was not found.

Like for example I want to access the slot element below within the shadow-root:

Screenshot 2021-05-03 at 17 36 14

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.