文件名称:dappeteer:使用Puppeteer + MetaMask对dApp进行E2E测试
文件大小:10.5MB
文件格式:ZIP
更新时间:2024-02-25 22:59:05
testing ethereum e2e metamask dapps
开胃菜 使用Puppeteer + MetaMask对dApp进行E2E测试 安装 $ npm install -s dappeteer 用法 import puppeteer from 'puppeteer' import dappeteer from 'dappeteer' async function main ( ) { const browser = await dappeteer . launch ( puppeteer ) const metamask = await dappeteer . getMetamask ( browser ) // create or i