Is there any notable difference between
sleep 10
and
wait_until(10)
They both seem to do the same thing: wait 10 seconds then proceed to the next step
Is there any notable difference between
sleep 10
and
wait_until(10)
They both seem to do the same thing: wait 10 seconds then proceed to the next step
sleep
just does nothing for the specified time. wait_until
takes a block. It waits until the block evaluates to true or times out. If no block is given they act the same.
© 2022 - 2024 — McMap. All rights reserved.