I am trying to count total product on an amazon page i.e. "https://www.amazon.com/s?k=irobot+roomba" using python and selenium.
I have facing problems with these two lines
list_product_on_page=browser.find_element_by_xpath('//[@id="search"]/div[1]/div[2]/div/span[3]/div[2]/div')
list_product_on_page.size
This is what I tried..
I want to count total product in this single page.
this is the code I tried so far