Skip to content

goeffthomas/node-bot-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-bot-starter

A jump starter repo for building a Selenium-based web bot using NodeJS/TypeScript

How to use this thing

  1. Download and install NodeJS >=20.10.0
  2. Install dependencies by running npm i
  3. Write the bot code in src/index.ts (a basic one has been provided as a sample)
  4. Setup environment variables
    • If any secrets (usernames, passwords, etc.) are used in the bot, DO NOT COMMIT THEM
    • Instead, setup environment variables on Windows or Mac
  5. Run the bot with npm run bot

Selenium setup

If Selenium can't automatically find the binaries to run the browser, you may need to set up the web drivers for Selenium:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published