2023-10-19 20:00:07 +00:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
from selenium import webdriver
|
|
|
|
|
|
|
|
def initialize_webdriver():
|
|
|
|
return webdriver.Firefox()
|
|
|
|
|
2023-10-19 10:31:24 +00:00
|
|
|
def main():
|
2023-10-19 20:00:07 +00:00
|
|
|
driver = initialize_webdriver()
|
2023-10-19 10:31:24 +00:00
|
|
|
# Open browser
|
|
|
|
# Navigate to filegarden
|
|
|
|
# Go To Your Garden
|
|
|
|
# Log in (email)
|
|
|
|
# Go To Your Garden
|
|
|
|
# Get list of filenames in File Garden
|
|
|
|
# Get list of files in target upload directory that don't exist in File Garden (test based on filename? size? file contents?)
|
|
|
|
# For each file in the second list, go through the file upload process
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|