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

@flood/chrome

Package Overview
Dependencies
Maintainers
2
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.2.0 to 0.2.1

yarn-error.log

35

index.d.ts

@@ -100,4 +100,17 @@ // Type definitions for @flood/chrome 0.1.12

DOMSnapshotOnFailure?: boolean
/**
* Configures how we record response time for each step.
*
* Possible values:
* - `"page"`: (Default) Record the document loading response time. This is usually what you consider response time on paged web apps.
* - `"documentReady"`: Record page load time as the time when document ready event fires. Only useful on paged applications.
* - `"networkMean"`: Takes the mean response time of all network requests which occur during a step. This is useful for Single Page Application which don't actually trigger a navigation.
* - `"interaction"`: Records the wall clock time of a step. This is useful for Single Page Application which don't actually trigger a navigation.
*/
responseTimeMeasurement?: ResponseTiming
}
type ResponseTiming = 'page' | 'documentReady' | 'networkMean' | 'interaction'
/**

@@ -165,3 +178,7 @@ * Specifies the available options which can be supplied to a step to override global settings.

export declare function step(name: string, fn: StepFunction): void
export declare function step(name: string, options: StepOptions, fn: StepFunction): void
export declare function step(
name: string,
options: StepOptions,
fn: StepFunction,
): void

@@ -263,3 +280,6 @@ /**

*/
public doubleClick(locatable: Locatable, options?: ClickOptions): Promise<void>
public doubleClick(
locatable: Locatable,
options?: ClickOptions,
): Promise<void>

@@ -269,3 +289,6 @@ /**

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

@@ -298,3 +321,7 @@ /**

*/
public type(locatable: Locatable, text: string, options?: { delay: number }): Promise<void>
public type(
locatable: Locatable,
text: string,
options?: { delay: number },
): Promise<void>

@@ -301,0 +328,0 @@ /**

2

package.json
{
"name": "@flood/chrome",
"version": "0.2.0",
"version": "0.2.1",
"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