All Projects β†’ ChainSafe β†’ dappeteer

ChainSafe / dappeteer

Licence: other
πŸŒπŸΌβ€E2E testing for dApps using Puppeteer + MetaMask

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
solidity
1140 projects

Projects that are alternatives of or similar to dappeteer

DTrip
DTrip - Traveler's app on STEEM blockchain.
Stars: ✭ 18 (-86.96%)
Mutual labels:  dapp
spectrum
πŸ’  Full Gamut Ethereum Lightsuite
Stars: ✭ 56 (-59.42%)
Mutual labels:  dapp
nevermore
Social credit information system based on blockchain.
Stars: ✭ 23 (-83.33%)
Mutual labels:  dapp
poa-dapps-voting
POA Network Governance Dapp
Stars: ✭ 24 (-82.61%)
Mutual labels:  dapp
ride-examples
Examples of scripts for accounts, dApps and assets using RIDE programming language.
Stars: ✭ 28 (-79.71%)
Mutual labels:  dapp
webdriverio-testing-library
πŸ•·οΈ Simple and complete WebdriverIO DOM testing utilities that encourage good testing practices.
Stars: ✭ 13 (-90.58%)
Mutual labels:  e2e
wallet-provider
Library to make React dApps easier using Terra Station Extension or Terra Station Mobile.
Stars: ✭ 72 (-47.83%)
Mutual labels:  dapp
alexa-skill-clean-code-template
Alexa Skill Template with clean code (eslint, sonar), testing (unit tests, e2e), multi-language, Alexa Presentation Language (APL) and In-Skill Purchases (ISP) support. Updated to ASK-CLI V2.
Stars: ✭ 34 (-75.36%)
Mutual labels:  e2e
dapp-browser
A simple, ENS-powered browser for Ethereum dApps
Stars: ✭ 20 (-85.51%)
Mutual labels:  dapp
setprotocol.js
πŸ₯ž Javascript library for a collateralized basket of ERC20 tokens
Stars: ✭ 57 (-58.7%)
Mutual labels:  dapp
quipuswap-webapp
🌐 πŸ§™β€β™‚οΈ Decentralized application UI for Quipuswap protocol.
Stars: ✭ 21 (-84.78%)
Mutual labels:  dapp
discussify-browser-extension
Discussify's browser extension app
Stars: ✭ 36 (-73.91%)
Mutual labels:  dapp
Setheum
Setheum Network - Islamic Finance DeFi, Multi-Stablecoins, Payments, EVM, DeFi on Rockets to Heaven => πŸš€ready for hackingπŸš€
Stars: ✭ 15 (-89.13%)
Mutual labels:  dapp
playwright-fluent
Fluent API around playwright
Stars: ✭ 71 (-48.55%)
Mutual labels:  e2e
jseval
Evaluate JavaScript on a URL through headless Chrome browser.
Stars: ✭ 19 (-86.23%)
Mutual labels:  pupeteer
Basic-Ethereum-Dev-Env-Setup
OAKLAND BLOCKCHAIN DEVELOPERS: Installation instructions to get up and running as an Solidity developer on the Ethereum network.
Stars: ✭ 37 (-73.19%)
Mutual labels:  dapp
cypress-xhr-responses-recording
No description or website provided.
Stars: ✭ 19 (-86.23%)
Mutual labels:  e2e
orbs-starter-kit
The starting point for writing a new application on Orbs platform
Stars: ✭ 19 (-86.23%)
Mutual labels:  dapp
awesome-waves
Curated list of awesome things for development on Waves blockchain.
Stars: ✭ 60 (-56.52%)
Mutual labels:  dapp
go-ethutil
Ethereum utility functions for Go.
Stars: ✭ 17 (-87.68%)
Mutual labels:  dapp

dAppeteer

E2E testing for dApps using Puppeteer + MetaMask

Installation

$ npm install -s @chainsafe/dappeteer
$ yarn add @chainsafe/dappeteer

Usage

import puppeteer from 'puppeteer';
import dappeteer from '@chainsafe/dappeteer';

async function main() {
  const browser = await dappeteer.launch(puppeteer, { metamaskVersion: 'v10.8.1' });
  const metamask = await dappeteer.setupMetamask(browser);

  // you can change the network if you want
  await metamask.switchNetwork('ropsten');

  // you can import a token
  await metamask.addToken('0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa');

  // go to a dapp and do something that prompts MetaMask to confirm a transaction
  const page = await browser.newPage();
  await page.goto('http://my-dapp.com');
  const payButton = await page.$('#pay-with-eth');
  await payButton.click();

  // 🏌
  await metamask.confirmTransaction();
}

main();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].