Skip to content
Discussion options

You must be logged in to vote

I just found the problem, the reason is that the entire page is in fact in a dom, you can see a shadowRoot (open) node, it is this node leads to the inability to access the elements directly through selenium.

The solution is to get this shadowRoot directly through the js command, and then the elements inside the dom can be accessed through this shadowRoot.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@RiSuubai
Comment options

@ClashSAN
Comment options

@RiSuubai
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by RiSuubai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants