I\'m writing a Flask route that opens a webpage in Selenium, enters some data, waits for a URL change, then updates a Google Doc, updates some Python variables, and displays