forked from astappiev/eyes.sdk.javascript1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
31 lines (30 loc) · 916 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import type {
Element,
Selector,
Eyes,
ConfigurationPlain,
Configuration,
CheckSettingsPlain,
CheckSettings,
TestResults,
TestResultsSummary,
} from '@applitools/eyes-webdriverio'
declare module WebdriverIO {
interface ServiceOption extends ConfigurationPlain {
useVisualGrid?: boolean
concurrency?: number
eyes?: ServiceOption
}
interface Browser {
getEyes(): Eyes
eyesCheck(title: string, checkSettings: CheckSettings | CheckSettingsPlain): Promise<void>
eyesSetScrollRootElement(element: Element | Selector): void
eyesAddProperty(key: string, value: string): void
eyesClearProperties(): void
eyesGetTestResults(): Promise<TestResults>
eyesSetConfiguration(configuration: ConfigurationPlain): void
eyesGetConfiguration(): Configuration
eyesGetIsOpen(): boolean
eyesGetAllTestResults(throwErr: boolean): Promise<TestResultsSummary>
}
}