We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331d78d commit acbc848Copy full SHA for acbc848
src/vueWrapper.ts
@@ -123,7 +123,7 @@ export class VueWrapper<T extends ComponentPublicInstance>
123
const result = this.parentElement['__vue_app__']
124
? // force using the parentElement to allow finding the root element
125
this.parentElement.querySelector(selector)
126
- : this.element.querySelector(selector)
+ : this.element.querySelector && this.element.querySelector(selector)
127
128
if (result) {
129
return new DOMWrapper(result)
0 commit comments