# @dkhein/puppeteer-cmp-clicker

> Helper function for general popup click of CMP's

Latest version **1.0.0** (published 2022-04-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install @dkhein/puppeteer-cmp-clicker
pnpm add @dkhein/puppeteer-cmp-clicker
yarn add @dkhein/puppeteer-cmp-clicker
bun add @dkhein/puppeteer-cmp-clicker
```

## 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.0.0 |
| Published | 2022-04-22 |
| First published | 2022-04-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Emil Hein |
| Maintainers | dkhein |
| Keywords | puppeteer, utility, cmp, clicker, popup, nodejs, js |

## Links

- npm: https://www.npmjs.com/package/@dkhein/puppeteer-cmp-clicker
- Repository: https://github.com/emilhein/puppeteer-cmp-clicker
- Homepage: https://github.com/emilhein/puppeteer-cmp-clicker#readme
- Issues: https://github.com/emilhein/puppeteer-cmp-clicker/issues
- npm.io page: https://npm.io/package/@dkhein/puppeteer-cmp-clicker

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-04-22

## README

## What do i do

For now i only have one function

#### 1. cmpClickAndFinder({page, customKnownIds = [], customKnownClasses = [],})

This function takes a puppeteer browser as an augument
## basic usage

```js
const { cmpClickAndFinder } = require("puppeteer-cmp-clicker");
// const chromium = require('chrome-aws-lambda')


let cmpClicked = await cmpClickAndFinder({ page })

// Output
// Your CMP popup should have been clicked

```

---
_Source: https://npm.io/package/@dkhein/puppeteer-cmp-clicker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
