I am fairly new to selenium and just encountered the following code snippet.
try:
element_present = EC.presence_of_element_located((By.ID, 'you_wontx_be'))
WebDriverWait(browser, timeout2).until(element_present)
except TimeoutException:
pass
I believe the code waits until a certain element is loaded in browser. What does the tuple parameter expect as its first and second element?