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.9 to 0.1.10

32

index.d.ts

@@ -200,2 +200,7 @@ // Type definitions for @flood/browser-test 0.1.0

public findAllElements(locator: string | Locator): Promise<ElementHandle[]>
/**
* Switch the focus of the browser to another frame or window
*/
public switchTo(): TargetLocator
}

@@ -279,2 +284,29 @@

declare class TargetLocator {
/**
* Locates the DOM element on the current page that corresponds to
* `document.activeElement` or `document.body` if the active element is not
* available.
*/
public activeElement(): Promise<ElementHandle>
/**
* Navigates to the topmost frame
*/
public defaultContent(): Promise<void>
/**
* Changes the active target to another frame.
*
* Accepts either:
*
* number: Switch to frame by index in window.frames,
* string: Switch to frame by frame.name or frame.id, whichever matches first,
* ElementHandle: Switch to a frame using the supplied ElementHandle of a frame.
*
* @param id number | string | ElementHandle
*/
public frame(id: number | string | ElementHandle)
}
declare class Condition {}

@@ -281,0 +313,0 @@ declare class Locator {}

2

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