wait_for_directory()
Wait for the directory to exist
directory – directory path
interval – Time interval between verification