Skip to content

This is a Node.js application using Puppeteer for automating the process of logging into a Gmail account and retrieving the number of unread emails.

Notifications You must be signed in to change notification settings

nhamonin/nodejs-puppeteer-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Puppeteer Task

This is a Node.js application using Puppeteer for automating the process of logging into a Gmail account and retrieving the number of unread emails.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have Node.js installed on your local machine. This project has been tested with Node.js version 16.9.0.

Installing

  1. Clone the repository:

    git clone https://github.com/your-repository/nodejs-puppeteer-task.git
  2. Navigate to the project directory:

    cd nodejs-puppeteer-task
  3. Rename the env.example file to .env and update the email and password with your own credentials.

  4. Start the application:

    npm start

    Upon running the application, you will see an output similar to the following:

    nhamonin nodejs-puppeteer-task % npm start
    
    > nodejs-puppeteer-task@1.0.0 start
    > node app.js
    
    You have 286 unread emails.
  5. That's it! You now have the NodeJS Puppeteer Task set up on your local machine. Feel free to explore and modify the code to suit your needs.

Built With

Authors

  • nhamonin

License

This project is licensed under the ISC License.

About

This is a Node.js application using Puppeteer for automating the process of logging into a Gmail account and retrieving the number of unread emails.

Topics

Resources

Stars

Watchers

Forks