How do I have Selenium wait until a certain element by ID is present on the page?
driver.find_element(By.ID, "FirstName").send_keys("MyFirstName")
driver.find_element(By.ID, "LastName").send_keys("MyLastName")
driver.find_element(By.ID, "PhoneNumber").send_keys("myPhoneNumber")
driver.find_element(By.ID, "Email").send_keys("myEmail")
For instance line 3, might not be present on the page I want it to wait until the element is present, then do the certain task and proceed with the next line of the code.