File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/visual-service/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import type {
99 SaveFullPageMethodOptions ,
1010 ClassOptions ,
1111} from 'webdriver-image-comparison'
12+ import type { ChainablePromiseElement } from 'webdriverio'
1213
1314type MultiOutput = {
1415 [ browserName : string ] : ScreenshotOutput ;
@@ -31,12 +32,12 @@ export type MultiremoteCommandResult = {
3132}
3233
3334export interface WdioIcsCommonOptions {
34- hideElements ?: WebdriverIO . Element [ ] ;
35- removeElements ?: WebdriverIO . Element [ ] ;
35+ hideElements ?: ( WebdriverIO . Element | ChainablePromiseElement ) [ ] ;
36+ removeElements ?: ( WebdriverIO . Element | ChainablePromiseElement ) [ ] ;
3637}
3738
3839export interface WdioIcsScrollOptions extends WdioIcsCommonOptions {
39- hideAfterFirstScroll ?: WebdriverIO . Element [ ] ;
40+ hideAfterFirstScroll ?: ( WebdriverIO . Element | ChainablePromiseElement ) [ ] ;
4041}
4142
4243export interface WdioCheckFullPageMethodOptions
You can’t perform that action at this time.
0 commit comments