[Question] How to find child vue components
See original GitHub issueI want to access QSelect’s child element QMenu. I using _vue selector to find JSHandle for Select
selects = page.query_selector_all("_vue=QSelect")

Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Vue.js $children by component name - Stack Overflow
You can use find: this.$root.$children.find(child => { return child.$options.name === "name"; }); . I will update ...
Read more >Stubs and Shallow Mount | Vue Test Utils
Stubbing a single child component #. A common example is when you would like to test something in a component that appears very...
Read more >Finding elements and components - Vue Testing Handbook
You can see the part of the source that finds children Vue components here . It basically checks the component's name against each...
Read more >10 Essential Vue.js Interview Questions and Answers | Toptal®
The following limitations must be accounted for when designing a Vue app: Vue cannot detect object property addition or deletion due to a...
Read more >In Vue How to get the child data into parent component
I have a listing of child components, each component is passed with props data(default values), The child component receives that props data and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can use Locators and loop through them see here: https://playwright.dev/docs/locators#lists
I’m closing this issue, since it seems answered, lets continue in the other issue for further questions.
sure thanks @mxschmitt 😍