A similar question was asked on another thread
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
browser = webdriver.Firefox()
element = WebDriverWait(browser, 10).until(EC.presence_of_element_located((By.ID, "element_id"))
This answer doesn't work because the element already existed in the previous page. I want to be able to wait until the page is done loading and then grab the element.