Makefile: make error message more clear when ephemeral files don't yet exist
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
yada-yada
Add method to wait for element to be available

Add waitForElement() function to poll until element becomes available