Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
playwright-aws-lambda
Advanced tools
Support for running Microsoft's Playwrite on AWS Lambda and Google Cloud functions
Support for PlayWright running on AWS Lambda and Google Cloud Functions
npm install playwrite-core playwright-aws-lambda --save
This package works with the nodejs8.10
, nodejs10.x
and nodejs12.x
AWS
Lambda runtimes out of the box.
const playwright = require('playwright-aws-lambda');
exports.handler = async (event, context) => {
let result = null;
let browser = null;
try {
const browser = await playwright.launchChromium();
const context = await browser.defaultContext();
const page = await context.newPage();
await page.goto(event.url || 'https://example.com');
console.log('Page title: ', await page.title());
} catch (error) {
throw err;
} finally {
if (browser !== null) {
await browser.close();
}
}
};
This project is based on the work of chrome-aws-lambda.
FAQs
Support for running Microsoft's Playwrite on AWS Lambda and Google Cloud functions
The npm package playwright-aws-lambda receives a total of 1,482 weekly downloads. As such, playwright-aws-lambda popularity was classified as popular.
We found that playwright-aws-lambda demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.