# find-cat

> A cypress custom command to get uncertain element

Latest version **1.1.4** (published 2023-07-03) · Apache License 2.0 license · 0 weekly downloads

## Install

```sh
npm install find-cat
pnpm add find-cat
yarn add find-cat
bun add find-cat
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2023-07-03 |
| First published | 2023-06-21 |
| Weekly downloads | 0 |
| License | Apache License 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | eleve.shi |
| Maintainers | eleve |

## Links

- npm: https://www.npmjs.com/package/find-cat
- Repository: https://github.com/earth42/find-cat
- Homepage: https://earth42.github.io/find-cat/
- Issues: https://github.com/earth42/find-cat/issues
- npm.io page: https://npm.io/package/find-cat

## Recent versions

- 1.1.4 (latest) — 2023-07-03
- 1.1.3 — 2023-06-28
- 1.1.2 — 2023-06-27
- 1.1.1 — 2023-06-27
- 1.1.0 — 2023-06-21
- 1.0.0 — 2023-06-21

## README

# Find Cat
This package adds a cypress custom command, so you could get uncertain element for some unknown fun.

## Installation
```shell
npm install find-cat@latest
```

## Usage
### Add custom cmmand
```js
# Add following code in cypress/support/e2e.js file
import findcat from 'find-cat'
```
### Create cat jump funcion
```js
# Original function is as follows:
const catJumps = () => {
    cy.log('Cat is alive, and jumps for no reason')
    console.log('Cat is alive, and jumps for no reason')
    cy.exec("echo 'Cat is alive, and jumps for no reason'")
}
```
### Add it in general cy file
```js
cy.get('.header').findcat('button', catJumps)
```

---
_Source: https://npm.io/package/find-cat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
