Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/types

Package Overview
Dependencies
Maintainers
23
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/types - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

4

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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[]>;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc