> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/web_advance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/web_advance/e2e-testing/cypress.md).

# Cypress

## 安裝

```
npm install cypress --save-dev
```

## 開啟

```
npx cypress open
```

輸入上面指令時如果出現錯誤，可以直接去資料夾打開

> open /Users/.../Library/Caches/Cypress/13.14.2/Cypress.app/Contents/MacOS/Cypress
