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

@types/expect-puppeteer

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/expect-puppeteer - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

28

expect-puppeteer/index.d.ts

@@ -10,3 +10,3 @@ // Type definitions for expect-puppeteer 5.0

import { ElementHandle, Page, Dialog } from "puppeteer";
import { Dialog, ElementHandle, Page } from "puppeteer";

@@ -22,3 +22,3 @@ /**

*/
type: 'css' | 'xpath';
type: "css" | "xpath";

@@ -89,3 +89,7 @@ /**

toFill(selector: string | MatchSelector, value: string, options?: ExpectTimingActions): Promise<void>;
toFillForm(selector: string | MatchSelector, value: { [key: string]: any}, options?: ExpectTimingActions): Promise<void>;
toFillForm(
selector: string | MatchSelector,
value: { [key: string]: any },
options?: ExpectTimingActions,
): Promise<void>;
toMatch(selector: string | MatchSelector, options?: ExpectTimingActions): Promise<void>;

@@ -105,7 +109,19 @@ toMatchElement(selector: string | MatchSelector, options?: ExpectToClickOptions): Promise<void>;

toFill(selector: string | MatchSelector, value: string, options?: ExpectTimingActions): Promise<void>;
toFillForm(selector: string | MatchSelector, value: { [key: string]: any}, options?: ExpectTimingActions): Promise<void>;
toFillForm(
selector: string | MatchSelector,
value: { [key: string]: any },
options?: ExpectTimingActions,
): Promise<void>;
toMatch(matcher: string | RegExp, options?: ExpectTimingActions): Promise<void>;
toMatchElement(selector: string | MatchSelector, options?: ExpectToClickOptions): Promise<ElementHandle>;
toSelect(selector: string | MatchSelector, valueOrText: string, options?: ExpectTimingActions): Promise<void>;
toUploadFile(selector: string | MatchSelector, filePath: string, options?: ExpectTimingActions): Promise<void>;
toSelect(
selector: string | MatchSelector,
valueOrText: string,
options?: ExpectTimingActions,
): Promise<void>;
toUploadFile(
selector: string | MatchSelector,
filePath: string,
options?: ExpectTimingActions,
): Promise<void>;
}

@@ -112,0 +128,0 @@ }

{
"name": "@types/expect-puppeteer",
"version": "5.0.3",
"version": "5.0.4",
"description": "TypeScript definitions for expect-puppeteer",

@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/expect-puppeteer",

},
"typesPublisherContentHash": "d76fb93e2345704470043e3109099ec61a8406deb07c20a3da4657cfca310b8a",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "ee3ced7fccb60296316007e3b4e68f83805978deef6b882a652d5f9824add756",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 15 Feb 2023 22:02:46 GMT
* Last updated: Sat, 23 Sep 2023 17:07:22 GMT
* Dependencies: [@types/jest](https://npmjs.com/package/@types/jest), [@types/puppeteer](https://npmjs.com/package/@types/puppeteer)

@@ -14,0 +14,0 @@ * Global values: none

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