The video for this lesson is currently being updated, please read the transcript instead.

Custom commands

So far our automated browser test will register a user and then click an item on the homepage. That bring us to here, to the item page.

The next step is to add the item to the cart, which is now simply a matter of clicking the "Add to cart" button. [click button]

When we do that, you'll notice that a badge appears over the cart icon to tell us that we now have an item in the cart.

To view the complete lesson you'll need to login or join this course.


Click to load comments...