没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Playwright-Aws-Lambda 支持在AWS Lambda和Google Cloud Functions上运行的Playwright。 注意:当前仅支持Chromium。 安装 npm install playwright-core playwright-aws-lambda --save 用法 此程序包可立即使用nodejs10.x和nodejs12.x AWS Lambda运行时。 const playwright = require ( 'playwright-aws-lambda' ) ; exports . handler = async ( event , context ) => { let browser = null ; try { const browser = await playwright . launchChromium ( ) ; const context = await browser . newContext ( ) ; const page = await context . newPage ( )
资源推荐
资源详情
资源评论
收起资源包目录
playwright-aws-lambda-master.zip (29个子文件)
playwright-aws-lambda-master
.lintstagedrc 63B
tsconfig-src-cjs.json 139B
package.json 1KB
tslint.json 210B
.github
workflows
npm-publish.yml 508B
tests.yml 504B
.prettierrc 71B
.prettierignore 13B
jest.config.js 501B
LICENSE 1KB
src
bin
aws.tar.br 1.49MB
chromium.br 39.47MB
swiftshader.tar.br 1.04MB
util
isHeadlessModeEnabled.ts 245B
fileExists.ts 205B
getEnvironmentVariables.ts 1KB
isLambdaRuntimeEnvironment.ts 185B
index.ts 28B
chromium.ts 4KB
.npmignore 153B
.huskyrc 53B
tsconfig.json 560B
buildbots
assets
emoji.png 870B
test-font.js 1KB
test-default.js 796B
test.sh 497B
.gitignore 68B
README.md 2KB
yarn.lock 197KB
共 29 条
- 1
资源评论
DGGs
- 粉丝: 15
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功