MCPcopy Index your code
hub / github.com/KabaLabs/Cypress-Recorder

github.com/KabaLabs/Cypress-Recorder @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
74 symbols 166 edges 33 files 25 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cypress Recorder

CircleCI

Cypress Recorder is a Chrome developer tool that records user interaction within a web application and generates Cypress scripts to allow the developer to replicate that particular session. This will speed up your development cycle by facilitating the creation of end-to-end tests with Cypress.

Cypress Recorder Landing Page

Getting Started

Download Cypress Recorder from the Chrome Web Store. That's it! Once you see our icon at the upper-right of your browser window, you are ready to start generating Cypress scripts.

Features

This extension will allow you to:

  • Record clicks, typing, submits, and navigation in the browser.
  • See the scripts render live as they are generated.
  • Delete accidental actions.
  • Reorder actions as necessary.
  • Pause and resume recording within a single session.
  • Record navigation within a superdomain.
  • Copy the generated code to your clipboard.

Cypress Recorder in Use

Usage

  • Open the extension and click 'Start Recording' to begin recording actions.
  • Click links, submit forms, etc.
  • Check your saved actions by opening the popup at any time. To check recording status at a glance, note our icon: if recording, it will look like this: cypressconeREC
  • Click 'Stop Recording' to stop recording. From there, you will have the option to resume recording, reset, or copy your generated code to your clipboard.
  • You can also use keyboard shortcuts: On Macs:

    • Ctrl + R to start and stop recording
    • Ctrl + G to reset

    On PCs and Linux: - Alt + R to start and stop recording - Alt + G to reset

Built With

Contributing

We welcome contributions! Please read our CONTRIBUTING guide to learn about our development process (linting, testing, etc) and how to propose bugfixes and improvements to Cypress Recorder.

Authors

License

ISC

Acknowledgments

赛普拉斯记录器是一个chrome开发人员工具,可记录用户使用Web应用程序过程中的所生成赛普拉斯代码,以允许开发人员复制该段时间的会话。 通过使用建立单元测试和集成测试,从而加快开发周期。

Cypress Recorderは、Webアプリケーション内のユーザーの行動を記録しCypressのコード生成するChrome拡張機能です。 Cypress Recorderを用いることでCypressを使用したE2Eテストを簡単に作成でき、開発サイクルが短縮されます。

Extension points exported contracts — how you extend this code

ParsedEvent (Interface)
(no doc)
src/types/index.d.ts
ClipboardButtonProps (Interface)
(no doc)
src/popup/components/ClipboardButton.tsx
Session (Interface)
(no doc)
src/types/index.d.ts
CodeBlockProps (Interface)
(no doc)
src/popup/components/CodeBlock.tsx
ActionWithPayload (Interface)
(no doc)
src/types/index.d.ts
ToggleButtonProps (Interface)
(no doc)
src/popup/components/ToggleButton.tsx
Block (Interface)
(no doc)
src/types/index.d.ts
HeaderProps (Interface)
(no doc)
src/popup/components/Header.tsx

Core symbols most depended-on inside this repo

getPatternMethod
called by 5
src/helpers/pattern.ts
pushBlock
called by 4
src/helpers/model.ts
control
called by 4
src/background/background.ts
stopRecording
called by 3
src/popup/components/App.tsx
sync
called by 2
src/helpers/model.ts
updateStatus
called by 2
src/helpers/model.ts
getPattern
called by 2
src/helpers/pattern.ts
ejectEventRecorder
called by 2
src/background/background.ts

Shape

Function 46
Interface 14
Method 8
Enum 4
Class 2

Languages

TypeScript100%

Modules by API surface

src/background/background.ts14 symbols
src/helpers/model.ts10 symbols
src/popup/components/App.tsx9 symbols
src/popup/components/CodeDisplay.tsx6 symbols
src/helpers/codeGenerator.ts6 symbols
src/content-scripts/eventRecorder.ts5 symbols
src/types/index.d.ts4 symbols
src/constants/index.ts4 symbols
src/popup/components/ToggleButton.tsx2 symbols
src/popup/components/InfoButton.tsx2 symbols
src/popup/components/ClipboardButton.tsx2 symbols
src/helpers/pattern.ts2 symbols

For agents

$ claude mcp add Cypress-Recorder \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact