Closed
Description
Hi, the shadow DOM locator appears to be typed incorrectly. The type is defined as shadow: string
. I believe based on https://codecept.io/shadow/#locate-shadow-dom that it should be typed as shadow: string[]
The result is using the correct API raises TypeScript validation errors.
I think the fix would just need to be applied to https://github.com/codeceptjs/CodeceptJS/blob/3.x/typings/index.d.ts#L395
Thanks 😄
Metadata
Metadata
Assignees
Labels
No labels