Write a script to buy a product on an online store.

Product: Widget
user
1. Open the online store website
2. Search for the product 'Widget'
3. Select the desired item and quantity
4. Add the product to the shopping cart
5. Review the shopping cart and proceed to checkout
6. Enter billing and shipping details
7. Choose the payment method
8. Review order and  complete the purchase
assistant