Skip to content

Jessica-Jiang-92/Puppeteer-with-Vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

Hello-Puppeteer

PuppeteerCypress均是用于前端E2E测试的一个工具,二者的比较可参考这里:https://chercher.tech/puppeteer/puppeteer-vs-cypress

  • Cypress相比较Puppeteer而言,对用户更加友好
  • 近5年的下载量显示,使用Cypress的人越来越多

Specification

  • Element UI
  • Vue(2.x) + Vuex + Vue Router
  • Typescript
  • less

Build Setup

Requires Node.js 6+

Prepare to run in local environment

  • env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm i puppeteer –D (这种方式是为了在安装过程中不下载Chormium,因为下载Chormium的过程非常慢,甚至会导致失败)
  • puppeteer实质上是基于nodeJS来实现的,所以直接用node启动即可:node xxxx.jssupervisor xxxx.js(已经全局安装supervisor,实现的是实时编译)

Demo演示

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published