Uses Selenium (in Python) to:
- login1 to the NextVIP Application/webpage
- delete the specified NextVIP Journal IDs one by one via the webpage interface
- log the entire process to the console2 (Includes failures and reasons; like timeouts etc.)
1 Users must enter their username and password. These are not stored.
2 Script designed such that output may be piped to a file.
- Edit the
NextVIP()
function (in the script) to include the list of Journal IDs you want to delete. - Comment out the
sys.exit()
failsafe in thelogin()
method - Run the script the same way you run other python scripts
(ie.
python Selenium_DeleteJournalsFmNextVIP.py
- or similar - at the command prompt)
If the script fails to get a webdriver you may have to download a newer driver version.
See the webdriver folder for instructions.
I was asked to delete several thousand Journal IDs by hand.
(ie. login and manually search for and delete each Journal ID)
This was estimated to take around two weeks full-time.
Instead I got permission to automate the process.
The code was only intended to be used once.
Hence it's not perfectly cleaned up, named, re-factored etc.
As a useful starting point for future Selenium work (a quick refresher of Selenium etc)