by something that gives a more meaningful error message than TimeoutException.
I don't want to put every WebDriverWait in a try block,
rather have a wait_for_element_by_id(driver, id) function or even
driver.wait_for_element_by_id(id) that throws UnexpectedLayoutError`
by something that gives a more meaningful error message than
TimeoutException
.I don't want to put every
WebDriverWait
in atry
block, rather have await_for_element_by_id(driver, id)
function or evendriver.wait_for_element_by_id(id)
that throws UnexpectedLayoutError`