🕵♂ Bot detection tests for Puppeteer. Hide and seek!
Note: A cleaner version of these tests will be getting migrated to Foundation: https://github.com/prescience-data/foundation
I still intend to keep these updated but will likely get less attention than the
Foundation
package.
This class accepts a Puppeteer
page instance and allows the user to run a series of tests against known bot detection tools and products.
The scores or outcome will be shown in the console.
npm test -- --tag=sannysoft
npm test -- --tag=recaptcha
npm test -- --tag=areyouheadless
npm test -- --tag=fingerprintjs
npm test -- --tag=datadome
npm test -- --tag=execution
npm test -- --tag=behaviour
npm test -- --tag=f5
npm test -- --tag=whiteops
npm test -- --tag=pixelscan
npm install
to pull down puppeteer
, puppeteer-extra
, typescript
, and other dependencies.test.ts
to adjust your configuration if required.node test -- --tag={testName}