Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@replayio/puppeteer
Advanced tools
Configuration utilities for using the Replay browsers with puppeteer
Provides utilities to support using Replay with Puppeteer
Use with replayio/action-upload to automatically upload replays of puppeteer scripts. Check out our documentation here.
Exports
getExecutablePath()
- Returns the path to the replay chromium browser.getMetadataFilePath(workerIndex: number = 0)
- Returns the path of a worker-specific metadata file keyed by the workerIndex
. The file path will be within the RECORD_REPLAY_DIRECTORY
.You can add metadata to your puppeteer recordings using either the RECORD_REPLAY_METADATA
or RECORD_REPLAY_METADATA_FILE
environment variable. If both are set, RECORD_REPLAY_METADATA_FILE
takes precedence.
Currently, this metadata is only available locally except for
title
RECORD_REPLAY_METADATA_FILE
- The path to a file containing JSON-formatted metadataRECORD_REPLAY_METADATA
- JSON-formatted metadata stringconst puppeteer = require("puppeteer");
const { getExecutablePath } = require("@replayio/puppeteer");
(async () => {
const browser = await puppeteer.launch({
headless: false,
executablePath: getExecutablePath(),
});
const page = await browser.newPage();
await page.goto("https://replay.io");
await page.screenshot({ path: "replay.png" });
await page.close();
await browser.close();
})();
FAQs
Configuration utilities for using the Replay browsers with puppeteer
The npm package @replayio/puppeteer receives a total of 15 weekly downloads. As such, @replayio/puppeteer popularity was classified as not popular.
We found that @replayio/puppeteer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.