I am trying to create a calendar for a webpage with custom information on it. I don't have a strong enough background in css to build a decent calendar, so I turned to the Google embedded calendar. My webpage has a calendar link to my account, but I want to import my own ical file. This file is generated automatically in a script, and I want to add functionality to import the .ics. I currently use selenium to get to the page (https://calendar.google.com/calendar/r/settings/export?tab=wc) but I can't get selenium to capture the window where I select my file. My next idea was to write the file path to the input section then click the import button but the import tag is hidden and I can't seem to find a way to get selenium to find it. My next solution was to use requests.post, but there isn't a clear url to post to. I am stuck, so help with any of the four problems would be much appreciated!
Problems:
1) a decent calendar with event information that is easy to code in css and html or a calendar that can be embedded and accepts .ics
2) a way to capture the file explorer window to type my own path into
3) find hidden input tag to put file path into (and how to make sure the file is uploaded)
4) find the url of the server that the POST method calls