wdio-webcomponents
wdio-webcomponents copied to clipboard
Cannot use element
This works:
browser.click('my-component #my-element-id')
This does not work:
browser.element('my-component #my-element-id').click()
It fails with this error:
TypeError: Cannot read property 'replace' of null
Using the method from gist of ChadKillingsworth, I am able to use
browser.shadowDomElement(['my-component', '#my-element-id']).click()
Is that intended or am I misusing this plugin? Thanks
Same here.
I am also seeing this.