the test robot to wait by using JavaScript's <code>await</code> keyword. That way, it will wait until the page completely finishes loading before moving on to the next step.</p>
<p>This is almost always the behavior we want, so we will almost always use <code>await</code> and <code>visit</code> as a pair. This applies to other kinds of simulated interaction too, such as clicking on a button or a link, as they all take time to complete. Even though sometimes these actions may seem imperceptibly fast to us, w