testcafe-vue-selectors
testcafe-vue-selectors copied to clipboard
Can't get access to global Vue (Nuxt) object, fails with error.
Hi! I'm trying to get access to root Vue (Nuxt) instance, but I can't:
const nuxt = await VueSelector();
const vm = await nuxt.getVue();
console.log(vm);
it fails with error:
1) getVue cannot return DOM elements. Use Selector functions for this purpose.
But recently, when I tried to use it with [email protected] it worked well, I could get root Vue (Nuxt) instance and read properties.
No matter if I use testcafe-vue-selectors or https://github.com/kartojal/testcafe-nuxt-selectors it fails in same way. Tried to dive deeper to TestCafe code, but didn't succeed.
Here's repo with reproduction instructions: https://github.com/souljorje/TestCafe-nuxt-issue
Hope for your help! Cheerz, Georgiy 🙌
@souljorje
Hello,
Thank you for the repository.
I've reproduced this issue under Windows 10 / Chrome 74 / [email protected] / testcafe-nuxt-selectors / testcafe-vue-selectors. Our team will research it and check for a suitable solution.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.