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.1 to 0.1.2

2

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

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

@@ -63,2 +63,7 @@ import type { IWebDriverElement } from "./IWebDriverElement";

findElements(locator: LocatorTypes, value: string): Promise<IWebDriverElement[]>;
/**
* Take a screenshot of the whole page.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -32,2 +32,12 @@ import type { LocatorTypes } from "./locatorTypes";

/**
* Get the text for an element.
* @returns The text.
*/
getText(): Promise<string>;
/**
* Get the HTML for an element.
* @returns The HTML.
*/
getHTML(): Promise<string>;
/**
* Get an attribute for an element.

@@ -38,2 +48,22 @@ * @param attribute The attribute to get.

getAttribute(attribute: string): Promise<string>;
/**
* Is the element enabled.
* @returns True if the element is enabled.
*/
isEnabled(): Promise<boolean>;
/**
* Is the element displayed.
* @returns True if the element is displayed.
*/
isDisplayed(): Promise<boolean>;
/**
* Is the element selected.
* @returns True if the element is selected.
*/
isSelected(): Promise<boolean>;
/**
* Take a screenshot of the element.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -74,2 +74,7 @@ import { type Client } from "webdriver";

findElements(locator: LocatorTypes, value: string): Promise<IWebDriverElement[]>;
/**
* Take a screenshot of the whole page.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -54,2 +54,12 @@ import type { Client } from "webdriver";

/**
* Get the text for an element.
* @returns The text.
*/
getText(): Promise<string>;
/**
* Get the HTML for an element.
* @returns The HTML.
*/
getHTML(): Promise<string>;
/**
* Get an attribute for an element.

@@ -60,2 +70,22 @@ * @param attribute The attribute to get.

getAttribute(attribute: string): Promise<string>;
/**
* Is the element enabled.
* @returns True if the element is enabled.
*/
isEnabled(): Promise<boolean>;
/**
* Is the element displayed.
* @returns True if the element is displayed.
*/
isDisplayed(): Promise<boolean>;
/**
* Is the element selected.
* @returns True if the element is selected.
*/
isSelected(): Promise<boolean>;
/**
* Take a screenshot of the element.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -74,2 +74,7 @@ import { type ThenableWebDriver } from "selenium-webdriver";

findElements(locator: LocatorTypes, value: string): Promise<IWebDriverElement[]>;
/**
* Take a screenshot of the whole page.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -48,2 +48,12 @@ import type { ThenableWebDriver, WebElement } from "selenium-webdriver";

/**
* Get the text for an element.
* @returns The text.
*/
getText(): Promise<string>;
/**
* Get the HTML for an element.
* @returns The HTML.
*/
getHTML(): Promise<string>;
/**
* Get an attribute for an element.

@@ -54,2 +64,22 @@ * @param attribute The attribute to get.

getAttribute(attribute: string): Promise<string>;
/**
* Is the element enabled.
* @returns True if the element is enabled.
*/
isEnabled(): Promise<boolean>;
/**
* Is the element displayed.
* @returns True if the element is displayed.
*/
isDisplayed(): Promise<boolean>;
/**
* Is the element selected.
* @returns True if the element is selected.
*/
isSelected(): Promise<boolean>;
/**
* Take a screenshot of the element.
* @returns Returns a base64 encoded png.
*/
screenshot(): Promise<string>;
}

@@ -208,2 +208,7 @@ import type { IWebDriverElement } from "../models/IWebDriverElement";

static getElementAttributeByPath<T>(path: string, attribute: string): Promise<T>;
/**
* Take a screenshot of the whole page.
* @returns Returns a base64 encoded png.
*/
static screenshot(): Promise<string>;
}

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