This script is used to input data barang into the system.
- Selenium
- OpenPyXL
- ChromeDriver
- Install the required packages using pip:
pip install selenium openpyxl
- Download the ChromeDriver executable and add it to your system's PATH.
- Run the script using Python:
python input-data-barang.py
You can configure the script by modifying the following variables:
wb
: The Excel workbook objectsheetRange
: The range of cells in the Excel sheet that contains the datadriver
: The Selenium WebDriver objectusername_input
: The username input field elementpassword_input
: The password input field elementlevel_select
: The level select elementlogin_button
: The login button elementkode_barang_input
: The kode barang input field elementnama_barang_input
: The nama barang input field elementjenis_barang_input
: The jenis barang input field elementsatuan_barang_input
: The satuan barang input field elementsimpan_button
: The simpan button element
If you encounter any issues, you can try the following:
- Check the ChromeDriver version and ensure it is compatible with your Chrome browser version.
- Check the Excel file format and ensure it is compatible with the OpenPyXL library.
- Check the script's configuration variables and ensure they are correctly set.
This script is licensed under the MIT License.
This script uses the following libraries:
- Selenium
- OpenPyXL
- ChromeDriver
Thank you to the developers and maintainers of these libraries for their hard work and dedication.