wswebcreation / webdriver-image-comparison

MIT License
43 stars 36 forks source link

hideAfterFirstScroll giving error in typescript Spec #71

Closed wswebcreation closed 4 years ago

wswebcreation commented 4 years ago

Copy of https://github.com/wswebcreation/wdio-image-comparison-service/issues/43

====================================================================== Trying to use hideAfterFirstScroll in checkFullPageScreen method but it's giving error: TS2740: Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 230 more.

expect(browser.checkFullPageScreen(this.test.title,{hideAfterFirstScroll: [$('#privacy-information')]} )).equal(0);

wswebcreation commented 4 years ago

Because this is a generic module it will be a little bit harder to have specific module types in this module. Any help on this would be great

wswebcreation commented 4 years ago

🤦 , nvm