Skip to content

Puppeteer script that allows your bot to scroll like real human.

Notifications You must be signed in to change notification settings

Alverrt/ghost-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

humanScroll Documentation

The humanScroll is designed to simulate human-like scrolling behavior on a web page using puppeteer. It includes a combination of smooth and random scrolling movements to mimic natural user behavior.

Prerequisites

  • This function is intended to be used with puppeteer for browser automation.

Usage

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();

  // Example usage
  const scrollActions = await humanScroll(page);
  await scrollActions.scroll(3, 'down');

  await browser.close();
})();

About

Puppeteer script that allows your bot to scroll like real human.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published