wdio-webcomponents icon indicating copy to clipboard operation
wdio-webcomponents copied to clipboard

Cannot use element

Open floribon opened this issue 7 years ago • 2 comments

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

floribon avatar Aug 19 '18 07:08 floribon

Same here.

dstibbe avatar Aug 30 '18 08:08 dstibbe

I am also seeing this.

goodbomb avatar Oct 24 '18 17:10 goodbomb