Is amazon site is suitable for automation ? It is behaving differently sometimes it’s working sometimes it’s not working any solution?
I have to search sports shoes and brand size then extract the list and select the best lowest price and proceed to payment

If u ask me, I would say yes. If you are able to handle all behaviour of Amazon like list view, grid view and all other frequent changes you will be able to handle any complex web automation…

When you search something on Amazon, the results of the search can be in a image view or list view or there might not be any result.
Everytime when site retuns search results, check whether its in image view or list view. Data Scrapping in list view works very well in amazon. Everytime you find a image view result, convert that to list view for better accuracy.