A jump starter repo for building a Selenium-based web bot using NodeJS/TypeScript
- Download and install NodeJS >=20.10.0
- Either get NodeJS directly or via NVM on Windows or Mac
- Install dependencies by running
npm i - Write the bot code in
src/index.ts(a basic one has been provided as a sample) - Setup environment variables
- Run the bot with
npm run bot
If Selenium can't automatically find the binaries to run the browser, you may need to set up the web drivers for Selenium:
- Download the latest Firefox driver and/or Chrome driver
- Place them in the
bindirectory within this repo locally - Add the
bindirectory of this repo to PATH on Windows or Mac