azu / azu/wait-for-element.js

Why do you need to check for addedNode.matches === "function"

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
51
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I exported this to my own codebase as its not npm friendly atm, but was wondering why you need
`addedNode.matches === "function"`

I notice that you can get added nodes match but it isn't a function, strange

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only identifies the addedNode.matches check and does not name a file or test. Locate that condition in the repository, inspect how added nodes are handled, and reproduce the reported non-function behavior in a browser. Done means documenting why the check is needed or clarifying the intended change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.