[Question] How to select vue component's data property
See original GitHub issueI have a slider element QSlider which has data
-> model
equal to 8. I have selected the component using
sliders = page.query_selector_all("_vue=QSlider")
sliders[0]
but not sure how can I get model
value and modify it. Would appreciate any kind of help thanks

Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How do I pass a data attribute in vue js select option
I need to pass a select object data attribute ...
Read more >Select component — Vuetify
Select fields components are used for collecting user provided information from a list of options. # Usage ...
Read more >Rendering a list of Vue components - Learn web development
First we need to get an array of to-do items. To do that, we'll add a data property to the App.vue component object,...
Read more >Vue.js Form Input Binding with Select option - GeeksforGeeks
Step 2: In the App.vue file, add the data members, category, and language for the v-model modifier. Vue.js will store the single select...
Read more >How To Generate a Vue.js Single Page App With the Vue CLI
Choose a version of Vue.js that you want to start the project with 2.x ❯ 3.x (Preview). The next question is regarding TypeScript ......
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
@protozoo You can do this already using
locator.evaluate
:As far as I understand, this should address your needs!
Extendig @AbhimanyuAryan 's question: The goal here is to be able to have access to a DOM element to check some of its properties. Analogous to doing something like this:
So, in summary, how to get “direct” access to a DOM element and then to its JS properties. This isn’t necessarily restricted to Vue cases, although in our case we are interested in testing Vue components internal state.
Thanks!