New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openfin/automation-helpers

Package Overview
Dependencies
Maintainers
45
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.2.7 to 0.2.8

2

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

@@ -5,0 +5,0 @@ "author": "martyn.janes@openfin.co",

@@ -7,5 +7,6 @@ /**

* Get the identity of the window.
* @param timeout The timeout in ms to wait for the identity.
* @returns The window identity or undefined if not found.
*/
static getIdentity(): Promise<{
static getIdentity(timeout?: number): Promise<{
uuid: string;

@@ -12,0 +13,0 @@ name: string;

import { type Client } from "webdriver";
import type { IWebDriver } from "../models/IWebDriver";
import type { IWebDriverElement } from "../models/IWebDriverElement";
import type { IWebDriverWindow } from "../models/IWebDriverWindow";
import type { LocatorTypes } from "../models/locatorTypes";
import type { WebDriverAction } from "../models/webDriverAction";
import type { WindowLocatorTypes } from "../models/windowLocatorTypes";
import type { WindowLocatorValueTypes } from "../models/windowLocatorValueTypes";
import { BaseWebDriver } from "./baseWebDriver";

@@ -45,21 +42,2 @@ import { NodeWebDriverWindow } from "./nodeWebDriverWindow";

/**
* Get the details of all the connected windows.
* @returns The list of windows.
* @see https://w3c.github.io/webdriver/#dfn-get-window-handles
*/
getWindows(): Promise<IWebDriverWindow[]>;
/**
* Get the details of the current window.
* @returns The list of windows.
* @see https://w3c.github.io/webdriver/#dfn-get-window-handle
*/
getWindow(): Promise<IWebDriverWindow | undefined>;
/**
* Switch to a window by locator.
* @param locator The locator type.
* @param locatorValue The window locator value to use.
* @returns True if the window was available.
*/
switchToWindow(locator: WindowLocatorTypes, locatorValue: WindowLocatorValueTypes): Promise<boolean>;
/**
* Find an element.

@@ -66,0 +44,0 @@ * @param locator The locator to use when finding the element.

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