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

@openfin/automation-helpers

Package Overview
Dependencies
Maintainers
44
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfin/automation-helpers - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "@openfin/automation-helpers",
"version": "0.1.4",
"version": "0.1.5",
"description": "Helper methods for automation testing in the OpenFin ecosystem",

@@ -5,0 +5,0 @@ "authors": [

@@ -18,10 +18,9 @@ /**

/**
* The name of the component in the window.
* The identity of the component in the window.
*/
name: string | undefined;
identity: {
uuid: string;
name: string;
} | undefined;
/**
* The uuid of the component in the window.
*/
uuid: string | undefined;
/**
* Switch to the window.

@@ -28,0 +27,0 @@ * @returns Nothing.

/**
* The window locator types.
*/
export declare type WindowLocatorTypes = "title" | "url" | "handle" | "name" | "uuid";
export declare type WindowLocatorTypes = "title" | "url" | "handle" | "identity";

@@ -19,10 +19,9 @@ import type { IWebDriverWindow } from "../models/IWebDriverWindow";

/**
* The name of the component in the window.
* The identity of the component in the window.
*/
readonly name: string | undefined;
readonly identity: {
uuid: string;
name: string;
} | undefined;
/**
* The uuid of the component in the window.
*/
readonly uuid: string | undefined;
/**
* Create a new instance of BaseWebDriverWindow.

@@ -32,6 +31,8 @@ * @param handle The handle of the window.

* @param url The url of the window.
* @param name The name of the component in the window.
* @param uuid The uuid of the component in the window.
* @param identity The identity of the component in the window.
*/
constructor(handle: string, title: string, url: string, name: string | undefined, uuid: string | undefined);
constructor(handle: string, title: string, url: string, identity: {
uuid: string;
name: string;
} | undefined);
}

@@ -18,6 +18,8 @@ import type { Client } from "webdriver";

* @param url The url of the window.
* @param name The name of the component in the window.
* @param uuid The uuid of the component in the window.
* @param identity The identity of the component in the window.
*/
constructor(client: Client, handle: string, title: string, url: string, name: string | undefined, uuid: string | undefined);
constructor(client: Client, handle: string, title: string, url: string, identity: {
uuid: string;
name: string;
} | undefined);
/**

@@ -24,0 +26,0 @@ * Switch to the window.

@@ -18,6 +18,8 @@ import type { ThenableWebDriver } from "selenium-webdriver";

* @param url The url of the window.
* @param name The name of the component in the window.
* @param uuid The uuid of the component in the window.
* @param identity The identity of the component in the window.
*/
constructor(webDriver: ThenableWebDriver, handle: string, title: string, url: string, name: string | undefined, uuid: string | undefined);
constructor(webDriver: ThenableWebDriver, handle: string, title: string, url: string, identity: {
uuid: string;
name: string;
} | undefined);
/**

@@ -24,0 +26,0 @@ * Switch to the window.

Sorry, the diff of this file is too big to display

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