Intermediate Training Assignment question

Assignment 3:

  1. Open amazon.in
  2. Search for product
  3. Add the product in cart
  4. Add 3 products by repeating steps 2 and 3 using Loop functionality
  5. Fetch the total bill amount
  6. Write down price in excel file

Can someone give me idea how to solve it