Skip to content

gvpaleev/dpche1

Repository files navigation

dpche1

Automated browser-based data entry system using Selenium WebDriver.

Overview

Multi-threaded Node.js application that automates browser interactions for data processing. Uses Selenium WebDriver with Chrome to handle concurrent browser sessions.

Dependencies

  • selenium-webdriver ^4.6.0
  • xml2js ^0.4.23

Structure

  • main.js - Entry point, orchestrates browser instances
  • class/Browser.js - Browser automation logic
  • class/Data.js - XML data handling
  • Data/ - XML data files
  • chromedriver - Chrome WebDriver binary
  • russian_trust_root_ca.crt - Certificate for Russian sites

Usage

npm install
node main.js

Configuration

Set COUNT_BROWSER in main.js to adjust concurrent browser threads (default: 4).

Data Flow

  1. Loads dispatch lists from XML files
  2. Spawns browser instances
  3. Performs authorization
  4. Processes data input across all instances

Logs

Each browser instance maintains separate logs:

  • Browser:N/log_goo.xml - Success log
  • Browser:N/log_err.xml - Error log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors