> Just to check: having this function present doesn't prevent casper from raising an error if the wait times out?

that's right, it just makes the error message more informative