/* Program Header ////////////////////////////////////////////////////////////// * ExcelToFromCanvas.jar * * This program copies date from Excel to Canvas or to Excel from Canvas. Upon * starting, the program prompts for an Excel file. If that Excel file exists, * then this program will copy data from that Excel file to Canvas. Otherwise, * if that Excel file does not exist, then this program will create a new Excel * file, and copy data to that Excel file from Canvas. This program uses * ApachePOI or OpenCSV to read/write to Excel files and uses Selenium for web * browser automation. * * This program has a "do anything" license. * * ApachePOI: https://poi.apache.org/ * ApachePOI download: https://poi.apache.org/download.html * OpenCSV: http://opencsv.sourceforge.net/ * Selenium: http://www.seleniumhq.org/ * Selenium download: http://www.seleniumhq.org/download/ * * @author Kai Da Zhao, kzhao32 * @date 2017 May 13 */// END Program Header /////////////////////////////////////////////////////// ExcelToFromCanvas.jar, chromedriver, and config.txt should all be placed in the same directory that you are running the .jar file from. The program saves your previous configuration in config.txt. For chromeDriver If using Windows, then only need chromedriver.exe If using Mac, then only need chromedriver_mac If using linux 32,then only need chromedriver_linux32 If using linux 64,then only need chromedriver_linux If the program doesn't work, then I will recommend running it in the terminal or command window for debugging information. Some possible reason may be that the chrome web driver is not executable (in which case, do "chmod +x ") or your chrome is outdated.