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

@flood/chrome

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flood/chrome - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

51

index.d.ts

@@ -147,3 +147,3 @@ // Type definitions for @flood/browser-test 0.1.0

*/
public selectByValue(locatable: Locatable, value: string): Promise<void>
public selectByValue(locatable: Locatable, ...values: string[]): Promise<void>

@@ -188,2 +188,7 @@ /**

/**
* Takes a screenshot of the whole page and saves it to the results folder with a random sequential name.
*/
public takeScreenshot(options?: ScreenshotOptions): Promise<void>
/**
* Uses the provided locator to find the first element it matches, returning an ElementHandle.

@@ -363,3 +368,3 @@ */

*/
static elementIsDisabled(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementIsDisabled(locatable: Locatable): Condition

@@ -370,3 +375,3 @@ /**

*/
static elementIsEnabled(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementIsEnabled(locatable: Locatable): Condition

@@ -377,3 +382,3 @@ /**

*/
static elementIsSelected(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementIsSelected(locatable: Locatable): Condition

@@ -384,3 +389,3 @@ /**

*/
static elementIsNotSelected(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementIsNotSelected(locatable: Locatable): Condition

@@ -391,3 +396,3 @@ /**

*/
static elementIsVisible(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementIsVisible(locatable: Locatable): Condition

@@ -398,15 +403,27 @@ /**

*/
static elementIsNotVisible(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementLocated(selectorOrLocator: ElementHandle | Locator | string): Condition
static elementTextContains(
selectorOrLocator: ElementHandle | Locator | string,
text: string,
): Condition
static elementTextIs(selectorOrLocator: ElementHandle | Locator | string, text: string): Condition
static elementTextMatches(
selectorOrLocator: ElementHandle | Locator | string,
regex: RegExp,
): Condition
static elementIsNotVisible(locatable: Locatable): Condition
/**
* Creates a condition which will wait until the element is located on the page.
*/
static elementLocated(locatable: Locatable): Condition
/**
* Creates a condition which will wait until the element's text content contains
* the target text.
*/
static elementTextContains(locatable: Locatable, text: string): Condition
/**
* Creates a condition which will wait until the element's text exactly matches the target text,
* excluding leading and trailing whitespace.
*/
static elementTextIs(locatable: Locatable, text: string): Condition
/**
* Creates a condition which will wait until the element's text matches the target Regular Expression.
*/
static elementTextMatches(locatable: Locatable, regex: RegExp): Condition
/**
* Creates a condition that will loop until at least one element is found with the given locator.

@@ -413,0 +430,0 @@ */

{
"name": "@flood/chrome",
"version": "0.1.7",
"version": "0.1.8",
"private": false,

@@ -5,0 +5,0 @@ "description": "Flood Chrome provides an API for scripting Browser Level Load Tests",

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