Git Product home page Git Product logo

fit_punchintool's Introduction

FIT PunchInTool 自動打卡小工具 with Selenium

前置

  • 安裝Node.js

  • 下載壓縮包並解壓縮,將裡頭的FIT_PunchInTool資料夾放置您喜好的位置

    Decompress

  • 將目錄路徑加到環境變數

    Setup the environment variable

  • 提升執行Powershell script權限

    1. 在 PowerShell 啟動捷徑上按下滑鼠右鍵,選擇以系統管理員身分執行 PowerShell。

    2. 執行以下 PowerShell 指令,將執行原則設定為 RemoteSigned

      Set-ExecutionPolicy RemoteSigned

      Elevated privilege

  • 安裝需要使用到的Node Modules

    1. 使用Powershell cd位置至目錄裡

    2. 輸入以下指令會自動下載所需的Modules

      npm install

      install modules

設置檔介紹

config資料夾內容物如下

  • chromeDriverVer.config

    • 紀錄目前Chrome Driver版本 (⚠️自動偵測設置,無須手動更改⚠️)
  • auth.config

    • 存放登入帳號密碼,帳號密碼中間需要空格分開
  • dayoff.config

    • 此工具會自動略過國定假日以及六日
    • 於工作日請假或颱風天休假則需要自行在此設定檔填入, 格式如下
    • [20211004,20211005,20211006]

fit_punchintool's People

Contributors

hs9021401 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.