@applitools/types
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -6,2 +6,6 @@ # Changelog | ||
## 1.0.20 - 2021/11/14 | ||
- add `getCapabilities` and `getBarsHeight` methods to `SpecDriver` type. These methods could be used instead of `getDriverInfo` to provide raw information about the driver | ||
## 1.0.19 - 2021/11/10 | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "@applitools/types", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "applitools", |
@@ -5,14 +5,17 @@ /// <reference types="node" /> | ||
sessionId?: string; | ||
isMobile?: boolean; | ||
isNative?: boolean; | ||
deviceName?: string; | ||
browserName?: string; | ||
browserVersion?: string; | ||
platformName?: string; | ||
platformVersion?: string; | ||
browserName?: string; | ||
browserVersion?: string; | ||
deviceName?: string; | ||
userAgent?: string; | ||
viewportSize?: Size; | ||
pixelRatio?: number; | ||
statusBarHeight?: number; | ||
navigationBarHeight?: number; | ||
viewportSize?: Size; | ||
isW3C?: boolean; | ||
isMobile?: boolean; | ||
isNative?: boolean; | ||
isAndroid?: boolean; | ||
isIOS?: boolean; | ||
features?: { | ||
@@ -57,3 +60,2 @@ shadowSelector?: boolean; | ||
findElements(context: TContext, selector: TSelector, parent?: TElement): Promise<TElement[]>; | ||
click?(context: TContext, element: TElement | TSelector): Promise<void>; | ||
setWindowSize?(driver: TDriver, size: Size): Promise<void>; | ||
@@ -63,8 +65,15 @@ getWindowSize?(driver: TDriver): Promise<Size>; | ||
getViewportSize?(driver: TDriver): Promise<Size>; | ||
getCookies?(driver: TDriver | TContext, context?: boolean): Promise<Cookie[]>; | ||
getDriverInfo?(driver: TDriver): Promise<DriverInfo>; | ||
getCapabilities?(driver: TDriver): Promise<Record<string, any>>; | ||
getTitle(driver: TDriver): Promise<string>; | ||
getUrl(driver: TDriver): Promise<string>; | ||
takeScreenshot(driver: TDriver): Promise<Buffer | string>; | ||
click?(context: TContext, element: TElement | TSelector): Promise<void>; | ||
visit?(driver: TDriver, url: string): Promise<void>; | ||
getOrientation?(driver: TDriver): Promise<'portrait' | 'landscape'>; | ||
getBarsHeight?(driver: TDriver): Promise<{ | ||
statusBarHeight: number; | ||
navigationBarHeight: number; | ||
}>; | ||
getElementRegion?(driver: TDriver, element: TElement): Promise<Region>; | ||
@@ -74,3 +83,2 @@ getElementAttribute?(driver: TDriver, element: TElement, attr: string): Promise<string>; | ||
performAction?(driver: TDriver, steps: any[]): Promise<void>; | ||
getCookies?(driver: TDriver | TContext, context?: boolean): Promise<Cookie[]>; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49633
773