Commit Graph

5 Commits

Author SHA1 Message Date
kinoshitakenta cfd1e5e61a
feat: validates required fields in login configuration
Adds validation to ensure that all required fields ("lang", "login_ID", "login_passwd", "company_ID") are present in the login_info section of the configuration file.

Raises a ValueError if any required field is missing, improving error handling and preventing potential issues
due to incomplete configuration.
2025-05-28 15:33:03 +08:00
kinoshitakenta ef204f1aae
chore: improved compatibility with Python 3.11 and above
Uses `tomllib` when available for Python 3.11+ and falls back to `tomli` for older versions.

This avoids deprecation warnings and ensures compatibility across different Python versions.
2025-05-28 13:19:31 +08:00
kinoshitakenta 0b80ee79b1
feat: automates ChromeDriver management
Updates the ChromeDriver setup to use `webdriver_manager` instead of relying on a local executable. This ensures the correct ChromeDriver version is automatically downloaded and managed, improving reliability and reducing manual configuration.

Removes the now unnecessary `chromedriver.exe` from the `.gitignore` file.
2025-05-19 11:02:58 +08:00
kinoshitakenta f66cf7aeac
feature: log in again after timeout, can handle the correct window 2024-05-30 15:36:23 +08:00
kinoshitakenta e0afd876b6
feature: basic features 2024-05-28 11:45:07 +08:00