Socket
Socket
Sign inDemoInstall

@intuned/sdk-dev-types

Package Overview
Dependencies
Maintainers
0
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intuned/sdk-dev-types - npm Package Compare versions

Comparing version 1.0.22-better-download.5 to 1.0.22-better-download.6

18

files/index.d.ts

@@ -255,2 +255,4 @@ import type { Page, Locator } from "@intuned/playwright-core";

* @param {string} url - The URL of the file to download.
* @param {Options} [options] - Optional. Options for downloading the file.
* @param {number} [options.downloadTimeout] - Optional. The maximum time in milliseconds to wait for the download to complete. Defaults to Playwright's default timeout.
* @returns {Promise<Download>} A promise that resolves to a Download object.

@@ -268,10 +270,14 @@ *

page: Page,
url: string
url: string,
options?: { downloadTimeout?: number }
): Promise<Download>;
/**
* Downloads a file using the specified locator.
* Downloads a file by clicking the specified locator.
*
* @param {Page} page - The Playwright Page object.
* @param {Locator} locator - The locator of the element to click to download the file.
* @param {Options} [options] - Optional. Options for downloading the file.
* @param {number} [options.downloadTimeout] - Optional. The maximum time in milliseconds to wait for the download to complete. Defaults to Playwright's default timeout.
* @param {number} [options.clickTimeout] - Optional. The maximum time in milliseconds to wait for the element to be clickable. Defaults to Playwright's default timeout.
* @returns {Promise<Download>} A promise that resolves to a Download object.

@@ -289,3 +295,4 @@ *

page: Page,
locator: Locator
locator: Locator,
options?: { downloadTimeout?: number; clickTimeout?: number }
): Promise<Download>;

@@ -298,2 +305,4 @@

* @param {(page: Page) => Promise<void>} trigger - The function to trigger the download.
* @param {Options} [options] - Optional. Options for downloading the file.
* @param {number} [options.downloadTimeout] - Optional. The maximum time in milliseconds to wait for the download to complete. Defaults to Playwright's default timeout.
* @returns {Promise<Download>} A promise that resolves to a Download object.

@@ -314,3 +323,4 @@ *

page: Page,
trigger: (page: Page) => Promise<void>
trigger: (page: Page) => Promise<void>,
options?: { downloadTimeout?: number }
): Promise<Download>;

@@ -317,0 +327,0 @@

{
"name": "@intuned/sdk-dev-types",
"version": "1.0.22-better-download.5",
"version": "1.0.22-better-download.6",
"description": "intuned runner types",

@@ -5,0 +5,0 @@ "author": "Intuned Team",

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