This project is a VERY work-in-progress attempt to automate the submission of the Reed College Daily Health Check using Selenium WebDriver to automote the process.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project is written in Javascript and requires the Node.js runtime.
Firefox's geckodriver must be installed and accessible in PATH
. On Mac OS, I find the easiest way to do this is with Homebrew because it handles the installation to PATH
by default:
brew install geckodriver
For instructions regarding other operating systems or to avoid the use of Homebrew, see here.
This project is in very early in development and there is not much to replicate. That being said, here are some basic instructions:
- Clone the project repo to your local machine
git clone https://github.com/willmhowes/crdv.git
- Install dependencies
npm install
- Create file called
.env
and add the url of the current day's health check so that the file looks as follows:
URL=https://example.com
- Run script
npm run form
- User can run script that will complete the health check
- Build a web interface
- Integrate Selenium API into web interface
- Place logic into an express backend (?)
- Scrape email for new health check link
- Will Howes - willmhowes
This project is licensed under the GPL-3.0 License - see the LICENSE file for details