Skip to content

practio/medarbejdersignatur-removal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated script for mass-removing employees from medarbejdesignatur.dk

Requirements

  • chromedriver in the root folder (may be different depending on your Chrome version or your OS)
    • Find your current chrome version (99.x, 98.x, 97.x)
    • Download your chromedriver based on the chrome version from over here https://chromedriver.chromium.org/downloads
    • Unzip the folder you downloaded
    • Open the chromedriver (you can close if afterwards)
    • Allow to be opened from System Preferences => Security and Privacy => General => Allow to open chromedriver
    • Put the chromedriver in the root folder on the current project
  • emails.json with all the employees' emails in the root folder with the following structure: ["test@practio.com", "test1@practio.com]

Steps to execute

  • Run npm ci
  • Run node index.js
  • A browser should open
  • Login to your medarbejdesignatur login
  • Go to Manage employees (You have 120 seconds until the script starts)
  • Select Advanced Search and press "Search" (no need to insert anything)
  • Select to show all employees (not only 15, 25)
  • Wait until the script finish

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published