garris / garris/BackstopJS

Acessar shadow-root playwright

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

Description

Preciso acessar um elemento dentro do shadow root da minha pagina web e capturar o valor de texto desse elemento mas não estou conseguindo acessar esse elemento através dos seletores que construí
Existe uma forma de implementar esses seletores e testar eles diretamente dentro do DevTools console de forma mais assertiva?

![Image](https://github.com/user-attachments/assets/6081cdd1-c8ed-4ffd-9e86-0b8b56ab2875)

Contributor guide

Open the contributing guide

Research direction

The issue mentions Playwright, shadow roots, selectors, and the DevTools console, but names no repository file or test. First clarify whether this is a BackstopJS bug or a usage question, then reproduce the selector attempt in DevTools and identify a minimal BackstopJS case. Done requires a confirmed access method and a regression test or documentation change if a repository update is intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, playwright
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.