@openfin/automation-helpers
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"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
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
293265
3479